Fix loop.spec.ts timeout failures.

This commit is contained in:
Sam Rose 2025-02-17 12:30:09 +00:00
parent 499c7e1e01
commit e9923bf90b
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 () => {
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())
await config.api.row.save(table._id!, {})
})