a11oy / web /packages /a11oy-core /vitest.config.ts
betterwithage's picture
sync(space): complete build context — fix BUILD_ERROR (CTO)
518343a verified
Raw
History Blame
593 Bytes
import { defineConfig } from 'vitest/config';
import path from 'path';
export default defineConfig({
esbuild: {
tsconfigRaw: {
compilerOptions: {
target: 'es2022',
module: 'esnext',
moduleResolution: 'bundler',
esModuleInterop: true,
strict: true,
skipLibCheck: true,
verbatimModuleSyntax: false,
},
},
},
resolve: {
alias: {
'@a11oy/connection': path.resolve(__dirname, '../a11oy-connection/src/index.ts'),
},
},
test: {
include: ['src/governance/__tests__/lid-check.test.ts'],
},
});