Skip to content

Commit

Permalink
test: reset tables between tests
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Feb 27, 2024
1 parent 703e6b5 commit 1b47ba7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/orm/base_model.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7936,6 +7936,10 @@ test.group('Base Model | lockForUpdate', (group) => {
await cleanupTables()
})

group.each.teardown(async () => {
await resetTables()
})

test('lock model row for update', async ({ fs, assert }) => {
const app = new AppFactory().create(fs.baseUrl, () => {})
await app.init()
Expand Down

0 comments on commit 1b47ba7

Please sign in to comment.