Fix loop.spec.ts timeout failures.
This commit is contained in:
parent
318c96e9c0
commit
9c445c1a8c
|
@ -21,6 +21,11 @@ describe("Attempt to run a basic loop automation", () => {
|
||||||
})
|
})
|
||||||
|
|
||||||
beforeEach(async () => {
|
beforeEach(async () => {
|
||||||
|
const { automations } = await config.api.automation.fetch()
|
||||||
|
for (const automation of automations) {
|
||||||
|
await config.api.automation.delete(automation)
|
||||||
|
}
|
||||||
|
|
||||||
table = await config.api.table.save(basicTable())
|
table = await config.api.table.save(basicTable())
|
||||||
await config.api.row.save(table._id!, {})
|
await config.api.row.save(table._id!, {})
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue