Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamedsalem401 committed Jan 10, 2024
1 parent 842794d commit 0dbc5f5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/tests/markdowndb.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ describe("MarkdownDB - default config", () => {
});

afterAll(async () => {
// TODO why we have to call this twice?
mddb.db.destroy();
mddb._destroyDb();
await mddb.db.destroy();
});

describe("correct startup and indexing", () => {
Expand Down

0 comments on commit 0dbc5f5

Please sign in to comment.