12 lines
327 B
JavaScript
12 lines
327 B
JavaScript
|
|
import { defineConfig } from 'vitest/config'
|
||
|
|
|
||
|
|
export default defineConfig({
|
||
|
|
test: {
|
||
|
|
// The runtime manipulates document, localStorage and matchMedia, so the
|
||
|
|
// browser-like environment is required rather than merely convenient.
|
||
|
|
environment: 'jsdom',
|
||
|
|
include: ['src/**/*.test.js'],
|
||
|
|
globals: false,
|
||
|
|
},
|
||
|
|
})
|