Skip to content

Commit

Permalink
Disable annoying teardown messages from Jest
Browse files Browse the repository at this point in the history
  • Loading branch information
malee31 committed Dec 9, 2024
1 parent a7fdf04 commit b31c358
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jest-global-teardown.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export async function _globalTeardown(nonceDir, nonceFile = "") {
// TODO: Take a snapshot of the database
// Tears down the test database
await databaseStart(true);
await _dropTables();
await _dropTables(false);
if(global.setupUsed || global.teardownOnly) {
await databaseEnd();
}
Expand Down

0 comments on commit b31c358

Please sign in to comment.