Skip to content

Commit

Permalink
test: setup vitest in studio to only pick up tests in src
Browse files Browse the repository at this point in the history
  • Loading branch information
alec-chernicki committed Jan 4, 2024
1 parent 3b0a2f6 commit 05b590f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/studio/vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import react from '@vitejs/plugin-react-swc';

export default defineConfig({
test: {
include: ['src/**/*.{test,spec}.?(c|m)[jt]s?(x)'],
globals: true,
environment: 'jsdom',
setupFiles: ['./test/setup.ts'],
Expand Down

0 comments on commit 05b590f

Please sign in to comment.