aboutsummaryrefslogtreecommitdiff
path: root/test/teardown.ts
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2021-07-29 17:10:54 +0200
committerHampusM <hampus@hampusmat.com>2021-07-29 17:10:54 +0200
commit93a4a8bf924588cd866714b86ec8f16f8d51dec0 (patch)
treea86d3ecba5838fac11042e8ae257dfe1bd3840cb /test/teardown.ts
parent9d6d2ce8cf34af6e787dae901ee3e5914c4c0fa4 (diff)
Organized tsconfigs, fixed tests and improved some backend functions
Diffstat (limited to 'test/teardown.ts')
-rw-r--r--test/teardown.ts5
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