Skip to content

Commit

Permalink
exclude test util from build
Browse files Browse the repository at this point in the history
  • Loading branch information
matttdawson committed Feb 2, 2025
1 parent eb2d654 commit 7c9d811
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
// see https://www.typescriptlang.org/tsconfig to better understand tsconfigs
"include": ["src", "./vite.config.ts"],
"exclude": ["**/testUtils.ts"],
"compilerOptions": {
"baseUrl": "./src",
"module": "esnext",
Expand Down
1 change: 0 additions & 1 deletion vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { defineConfig } from 'vitest/config'

export default defineConfig({
test: {
globals: true,
setupFiles: ['./vitest.setup.ts'],
environment: 'jsdom',
server: {
Expand Down

0 comments on commit 7c9d811

Please sign in to comment.