Skip to content

Commit

Permalink
chore: fix leaking test
Browse files Browse the repository at this point in the history
  • Loading branch information
wa0x6e committed Jan 23, 2024
1 parent 6e5e7ca commit 71cf1d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration/writer/proposal.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jest.mock('../../../src/helpers/moderation', () => {
describe('writer/proposal', () => {
describe('action()', () => {
afterAll(async () => {
await db.queryAsync('DELETE FROM proposals');
await db.queryAsync('DELETE FROM proposals where id in (?)', [['0x01', '0x02']]);
await db.endAsync();
await sequencerDB.endAsync();
});
Expand Down

0 comments on commit 71cf1d3

Please sign in to comment.