mirror of
https://github.com/hashicorp/vault-action.git
synced 2025-11-07 07:06:56 +00:00
* update require got to import got * convert remaining to esm * wip: replace jest with vitest * fix test imports and vitest config * remove dist package.json * fix import in ent test * add dist * move actions/core to prod dependency * remove unused import that was breaking esm compilation * simplify imports * use module.createRequire to import jsonata * add doc link comment * add comments on import insanity * add more comments * update PR tempalte * bump got and remove jest deps * revert debug npm run command * fix fs import * simplify vitest config for each test suite
11 lines
275 B
JavaScript
11 lines
275 B
JavaScript
import { defineConfig, configDefaults } from 'vitest/config'
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
// required to make jest-when work with vitest
|
|
globals: true,
|
|
include: [
|
|
'**/integrationTests/enterprise/**.{test,spec}.?(c|m)[jt]s?(x)',
|
|
],
|
|
},
|
|
})
|