Fix loop.spec.ts timeout failures.

This commit is contained in:
Sam Rose 2025-02-18 11:07:48 +00:00
parent 318c96e9c0
commit 9c445c1a8c
No known key found for this signature in database
1 changed files with 5 additions and 0 deletions

View File

@ -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!, {})
}) })