diff options
author | HampusM <hampus@hampusmat.com> | 2021-07-29 17:10:54 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2021-07-29 17:10:54 +0200 |
commit | 93a4a8bf924588cd866714b86ec8f16f8d51dec0 (patch) | |
tree | a86d3ecba5838fac11042e8ae257dfe1bd3840cb /test/teardown.ts | |
parent | 9d6d2ce8cf34af6e787dae901ee3e5914c4c0fa4 (diff) |
Organized tsconfigs, fixed tests and improved some backend functions
Diffstat (limited to 'test/teardown.ts')
-rw-r--r-- | test/teardown.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/teardown.ts b/test/teardown.ts index 290c478..c5b49e3 100644 --- a/test/teardown.ts +++ b/test/teardown.ts @@ -1,5 +1,8 @@ import { remove } from "fs-extra"; +import { EnvironmentVariables } from "./util"; + +const env = process.env as EnvironmentVariables; export default async function(): Promise<void> { - await remove(process.env.BASE_DIR); + await remove(env.BASE_DIR); }
\ No newline at end of file |