overleaf-cep/services/web/vitest.config.js
Andrew Rumble 18c0634011 Disable test isolation
Isolation isn't required and it takes the setup contribution to our
tests down from over 60 seconds to single figures, greatly speeding up
the tests.

GitOrigin-RevId: 72516e420583fa2dfcef13f2cc50b0769a100baf
2025-05-29 08:05:29 +00:00

13 lines
296 B
JavaScript

const { defineConfig } = require('vitest/config')
module.exports = defineConfig({
test: {
include: [
'modules/*/test/unit/**/*.test.mjs',
'test/unit/src/**/*.test.mjs',
],
setupFiles: ['./test/unit/vitest_bootstrap.mjs'],
globals: true,
isolate: false,
},
})