Files
explore/vitest.config.ts
T
tom goriunovandGitHub 5d337fc555 Migrate from Jest to Vitest (#3173)
* first part of transition

* second part of transition

* remove jest

* bump up node version and playwright version

* update all screenshots because of the new playwright version

* fix tests

* one more screenshot update
2025-12-10 19:21:07 +01:00

18 lines
431 B
TypeScript

import tsconfigPaths from 'vite-tsconfig-paths';
import { defineConfig } from 'vitest/config';
export default defineConfig({
plugins: [
tsconfigPaths({
ignoreConfigErrors: true,
}),
],
test: {
globalSetup: [ './vitest/global-setup.ts' ],
setupFiles: [ './vitest/setup.ts' ],
include: [ '**/*.spec.ts', '**/*.spec.tsx' ],
exclude: [ '**/node_modules/**', '**/node_modules_linux/**' ],
},
});