Skip to content

Commit

Permalink
fix vitest for tsx/jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
MP281X committed May 14, 2024
1 parent 95ad3a8 commit 5fb231e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"type": "module",
"version": "1.0.2",
"version": "1.0.3",
"name": "@mp281x/shared-config",

"globImports": ["**/src/*.ts"],
Expand Down
2 changes: 1 addition & 1 deletion src/vitest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default defineWorkspace(
test: {
clearScreen: false,
environment: 'node',
includeSource: ['**/*.{ts,js}'],
includeSource: ['**/*.{ts,tsx,js,js}'],
name,
project: name,
root: cwd
Expand Down

0 comments on commit 5fb231e

Please sign in to comment.