aboutsummaryrefslogtreecommitdiff
path: root/test/setup.ts
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2021-07-25 14:56:58 +0200
committerHampusM <hampus@hampusmat.com>2021-07-25 14:56:58 +0200
commit7b3292af22a0496007e974b65cd2e34521c9c429 (patch)
tree8205726e27fa7e5f80cd2a7ffb6c7354a11b6dea /test/setup.ts
parent4f5771726aa8c7b6d4e288df2a79f1ffef55c3a3 (diff)
Reformated unit tests & the setup and teardown scripts
Diffstat (limited to 'test/setup.ts')
-rw-r--r--test/setup.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/setup.ts b/test/setup.ts
index 50c8754..89eeead 100644
--- a/test/setup.ts
+++ b/test/setup.ts
@@ -9,7 +9,7 @@ config({ path: "test/test.env" });
const env = process.env as EnvironmentVariables;
-export default async function init() {
+export default async function(): Promise<void> {
const can_access = await access(env.BASE_DIR)
.then(() => true)
.catch(() => false);