5
0
Fork 0
mirror of https://github.com/hashicorp/vault-action.git synced 2025-11-07 15:16: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: {
// required to make jest-when work with vitest
globals: true,
exclude:[
...configDefaults.exclude,
'./src/**',
'**/integrationTests/e2e/**',
'**/integrationTests/e2e-tls/**',
'**/integrationTests/enterprise/**',
include: [
'**/integrationTests/basic/**.{test,spec}.?(c|m)[jt]s?(x)',
],
},
})

View file

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

View file

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

View file

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