14 lines
351 B
TypeScript
14 lines
351 B
TypeScript
import { resolve } from 'path'
|
|
import { defineConfig } from 'vitest/config'
|
|
|
|
export default defineConfig({
|
|
resolve: {
|
|
// Test against core's source, so `npm test` needs no build of shared/
|
|
alias: { '@ipp/core': resolve(__dirname, '../shared/src/index.ts') }
|
|
},
|
|
test: {
|
|
include: ['tests/**/*.test.ts'],
|
|
environment: 'node'
|
|
}
|
|
})
|