5
0
Fork 0
mirror of https://github.com/hashicorp/vault-action.git synced 2025-11-07 07:06:56 +00:00

simplify vitest config for each test suite

This commit is contained in:
JM Faircloth 2024-03-12 15:30:27 -05:00
parent b33900a34b
commit 848a30c5ae
4 changed files with 8 additions and 24 deletions

View file

@ -4,12 +4,8 @@ export default defineConfig({
test: { test: {
// required to make jest-when work with vitest // required to make jest-when work with vitest
globals: true, globals: true,
exclude:[ include: [
...configDefaults.exclude, '**/integrationTests/basic/**.{test,spec}.?(c|m)[jt]s?(x)',
'./src/**',
'**/integrationTests/e2e/**',
'**/integrationTests/e2e-tls/**',
'**/integrationTests/enterprise/**',
], ],
}, },
}) })

View file

@ -4,12 +4,8 @@ export default defineConfig({
test: { test: {
// required to make jest-when work with vitest // required to make jest-when work with vitest
globals: true, globals: true,
exclude:[ include: [
...configDefaults.exclude, '**/integrationTests/e2e-tls/**.{test,spec}.?(c|m)[jt]s?(x)',
'./src/**',
'**/integrationTests/basic/**',
'**/integrationTests/e2e/**',
'**/integrationTests/enterprise/**',
], ],
}, },
}) })

View file

@ -4,12 +4,8 @@ export default defineConfig({
test: { test: {
// required to make jest-when work with vitest // required to make jest-when work with vitest
globals: true, globals: true,
exclude:[ include: [
...configDefaults.exclude, '**/integrationTests/e2e/**.{test,spec}.?(c|m)[jt]s?(x)',
'./src/**',
'**/integrationTests/basic/**',
'**/integrationTests/e2e-tls/**',
'**/integrationTests/enterprise/**',
], ],
}, },
}) })

View file

@ -4,12 +4,8 @@ export default defineConfig({
test: { test: {
// required to make jest-when work with vitest // required to make jest-when work with vitest
globals: true, globals: true,
exclude:[ include: [
...configDefaults.exclude, '**/integrationTests/enterprise/**.{test,spec}.?(c|m)[jt]s?(x)',
'./src/**',
'**/integrationTests/basic/**',
'**/integrationTests/e2e/**',
'**/integrationTests/e2e-tls/**',
], ],
}, },
}) })