1
0

Fix tests

This commit is contained in:
Zef Hemel
2022-07-04 09:34:11 +02:00
parent 25188f94b1
commit 66c21c4c6b
8 changed files with 18 additions and 5 deletions
+2 -2
View File
@@ -9,7 +9,7 @@ beforeEach(async () => {
db = knex({
client: "better-sqlite3",
connection: {
filename: "test.db",
filename: "auth-test.db",
},
useNullAsDefault: true,
});
@@ -17,7 +17,7 @@ beforeEach(async () => {
afterEach(async () => {
db!.destroy();
await unlink("test.db");
await unlink("auth-test.db");
});
test("Test auth", async () => {