Fix tests
This commit is contained in:
parent
3bb3376a82
commit
7574b27b4b
|
@ -54,7 +54,7 @@ export const clearAllApps = async (
|
||||||
}
|
}
|
||||||
|
|
||||||
export const clearAllAutomations = async (config: TestConfiguration) => {
|
export const clearAllAutomations = async (config: TestConfiguration) => {
|
||||||
const automations = await config.getAllAutomations()
|
const { automations } = await config.getAllAutomations()
|
||||||
for (let auto of automations) {
|
for (let auto of automations) {
|
||||||
await context.doInAppContext(config.getAppId(), async () => {
|
await context.doInAppContext(config.getAppId(), async () => {
|
||||||
await config.deleteAutomation(auto)
|
await config.deleteAutomation(auto)
|
||||||
|
|
Loading…
Reference in New Issue