mirror of
https://github.com/gramps-project/gramps-web.git
synced 2026-10-16 21:01:38 +08:00
20 lines
478 B
JavaScript
20 lines
478 B
JavaScript
import {defineConfig} from 'vitest/config'
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
environment: 'happy-dom',
|
|
coverage: {
|
|
provider: 'v8',
|
|
reporter: ['text', 'lcov'],
|
|
include: ['src/**/*.js'],
|
|
},
|
|
server: {
|
|
deps: {
|
|
// ESM imports in this package lack .js extensions, which Node.js
|
|
// strict ESM requires. Inline through Vite's bundler instead.
|
|
inline: ['@material/material-color-utilities'],
|
|
},
|
|
},
|
|
},
|
|
})
|