19 lines
453 B
TypeScript
19 lines
453 B
TypeScript
import { fileURLToPath } from 'node:url';
|
|
import { defineConfig } from 'vitest/config';
|
|
|
|
export default defineConfig({
|
|
resolve: {
|
|
alias: [
|
|
{
|
|
find: /^animal-island-ui$/u,
|
|
replacement: fileURLToPath(
|
|
new URL('./apps/web/node_modules/animal-island-ui/dist/cjs/index.cjs', import.meta.url),
|
|
),
|
|
},
|
|
],
|
|
},
|
|
test: {
|
|
include: ['apps/**/*.test.{ts,tsx}', 'packages/contracts/**/*.test.ts'],
|
|
},
|
|
});
|