fix(ci): add testTimeout and Renovate vitest grouping
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
- Add testTimeout: 10000 to vitest config (DatePicker test flakiness in CI) - Group vitest and @vitest/coverage-v8 in Renovate to avoid split updates
This commit is contained in:
@@ -1,3 +1,10 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json"
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
|
"packageRules": [
|
||||||
|
{
|
||||||
|
"groupName": "vitest",
|
||||||
|
"matchPackageNames": ["vitest", "@vitest/coverage-v8"],
|
||||||
|
"matchUpdateTypes": ["minor", "patch"]
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -30,6 +30,7 @@ export default defineConfig({
|
|||||||
test: {
|
test: {
|
||||||
environment: 'jsdom',
|
environment: 'jsdom',
|
||||||
setupFiles: ['./tests/setup.ts'],
|
setupFiles: ['./tests/setup.ts'],
|
||||||
|
testTimeout: 10000,
|
||||||
coverage: {
|
coverage: {
|
||||||
provider: 'v8',
|
provider: 'v8',
|
||||||
include: ['src/**/*.{ts,tsx}'],
|
include: ['src/**/*.{ts,tsx}'],
|
||||||
|
|||||||
Reference in New Issue
Block a user