fix(ci): vercel (#1125)

This commit is contained in:
Simon Lecoq
2022-07-07 05:01:09 +02:00
committed by GitHub
parent 1713f5e47f
commit 33a2f43c59
6 changed files with 32 additions and 13 deletions

View File

@@ -40,7 +40,7 @@ web.start = async () =>
web.stop = async () => await web.instance.kill("SIGKILL")
//Web instance placeholder
require("./../source/app/web/statics/app.placeholder.js")
require("./../source/app/web/statics/embed/app.placeholder.js")
const placeholder = globalThis.placeholder
delete globalThis.placeholder
placeholder.init({
@@ -119,7 +119,7 @@ describe("GitHub Action", () =>
if ((skip.includes(template)) || ((modes.length) && (!modes.includes("action"))))
test.skip(name, () => null)
else
test(name, async () => expect(await action.run({template, base: "", query: JSON.stringify(query), plugins_errors_fatal: true, dryrun: true, use_mocked_data: true, verify: true, ...input})).toBe(true), timeout)
test(name, async () => expect(await action.run({template, base: "", query: JSON.stringify(query), plugins_errors_fatal: true, dryrun: true, use_mocked_data: true, verify: true, retries:1, ...input})).toBe(true), timeout)
}
}))