Fix flake in generic-sql.spec.ts.

This commit is contained in:
Sam Rose 2024-06-17 16:17:00 +01:00
parent c107ab937d
commit 903c3cf84d
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -63,6 +63,7 @@ describe.each(
client = await knexClient(rawDatasource)
await client.schema.dropTableIfExists("test_table")
await client.schema.createTable("test_table", table => {
table.increments("id").primary()
table.string("name")
@ -84,7 +85,6 @@ describe.each(
afterEach(async () => {
const ds = await config.api.datasource.get(datasource._id!)
await config.api.datasource.delete(ds)
await client.schema.dropTable("test_table")
})
afterAll(async () => {