test: retry installation tests up to 3 times

This commit is contained in:
Max Schmitt 2024-10-01 21:39:41 +02:00
parent 78054a7652
commit f636bc7695

View file

@ -38,7 +38,7 @@ export default defineConfig({
outputDir, outputDir,
testIgnore: '**\/fixture-scripts/**', testIgnore: '**\/fixture-scripts/**',
timeout: 5 * 60 * 1000, timeout: 5 * 60 * 1000,
retries: 0, retries: process.env.CI ? 3 : 0,
reporter: reporters(), reporter: reporters(),
forbidOnly: !!process.env.CI, forbidOnly: !!process.env.CI,
workers: 1, workers: 1,