1
0
Fork 0
mirror of synced 2024-07-04 05:50:57 +12:00

Fix timeouts

This commit is contained in:
adrinr 2023-04-11 14:20:15 +01:00
parent c77ed3d737
commit 9a330b85f8

View file

@ -19,11 +19,14 @@ describe("/automations", () => {
afterAll(setup.afterAll)
// For some reason this cannot be a beforeAll or the test "tests the automation successfully" fail
beforeEach(async () => {
beforeAll(async () => {
await config.init()
})
beforeEach(() => {
events.automation.deleted.mockClear()
})
describe("get definitions", () => {
it("returns a list of definitions for actions", async () => {
const res = await request