passerelle/vitest.config.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
464 B
JavaScript
Raw Normal View History

2023-11-02 14:43:04 +01:00
import { fileURLToPath, URL } from 'node:url'
import { defineConfig } from 'vitest/config'
export default defineConfig({
test: {
include: ['tests/js/**/*.test.js'],
watchExclude: ['**'],
alias: {
qrcode: fileURLToPath(new URL('./passerelle/apps/qrcode/static/qrcode/js', import.meta.url)),
vitest: process.env.NODE_PATH + '/vitest'
},
environment: 'happy-dom',
chaiConfig: {
truncateThreshold: Infinity,
},
2023-11-02 14:43:04 +01:00
}
})