chore(editor): add retry for flaky test (#12143)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Tests** - Updated integration test configuration to automatically retry failed tests up to 3 times in CI environments, improving test reliability. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
@@ -15,6 +15,7 @@ export default defineConfig(_configEnv =>
|
|||||||
plugins: [vanillaExtractPlugin()],
|
plugins: [vanillaExtractPlugin()],
|
||||||
test: {
|
test: {
|
||||||
include: ['src/__tests__/**/*.spec.ts'],
|
include: ['src/__tests__/**/*.spec.ts'],
|
||||||
|
retry: process.env.CI === 'true' ? 3 : 0,
|
||||||
browser: {
|
browser: {
|
||||||
enabled: true,
|
enabled: true,
|
||||||
headless: process.env.CI === 'true',
|
headless: process.env.CI === 'true',
|
||||||
|
|||||||
Reference in New Issue
Block a user