You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
406 B
13 lines
406 B
import { defineConfig } from 'vitest/config'; |
|
|
|
export default defineConfig({ |
|
test: { |
|
include: ['src/**/*.{test,spec}.{js,ts}'], |
|
environment: 'jsdom', |
|
globals: true, |
|
alias: { |
|
'$lib': new URL('./src/lib', import.meta.url).pathname, |
|
'$app/environment': new URL('./src/test/mocks/app-environment.ts', import.meta.url).pathname, |
|
}, |
|
}, |
|
});
|
|
|