070959e133
landing-page-staging / Deploy landing page to staging (push) Has been skipped
landing-page-ci / Validate landing page (push) Failing after 4s
visual-baseline / Capture visual baselines (push) Has been cancelled
bake-plugin-previews / Bake plugin previews (push) Has been cancelled
17 lines
455 B
TypeScript
17 lines
455 B
TypeScript
import { resolve } from 'node:path';
|
|
import { defineConfig } from 'vitest/config';
|
|
|
|
export default defineConfig({
|
|
resolve: {
|
|
alias: {
|
|
'@excalidraw/excalidraw': resolve(__dirname, 'tests/helpers/excalidraw-mock.tsx'),
|
|
'motion/react': resolve(__dirname, 'tests/helpers/motion-mock.tsx'),
|
|
},
|
|
},
|
|
test: {
|
|
environment: 'node',
|
|
include: ['tests/**/*.test.{ts,tsx}'],
|
|
setupFiles: ['./tests/setup/jsdom-lexical.ts'],
|
|
},
|
|
});
|