core: add retry if a test fails

This commit is contained in:
Abdullah Atta
2023-12-25 14:29:56 +05:00
parent 4a8c6ba589
commit 8a0af6260d

View File

@@ -27,6 +27,7 @@ export default defineConfig({
coverage: {
reporter: ["text", "html"]
},
retry: 1,
exclude: ["__benches__/**/*.bench.ts"],
include: [
...(IS_E2E ? ["__e2e__/**/*.test.{js,ts}"] : []),