Skip to content

Commit

Permalink
fix: vitest/global
Browse files Browse the repository at this point in the history
  • Loading branch information
nahoc committed Oct 1, 2024
1 parent 9a89c6c commit 4ab0d5b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions config/tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"noEmit": true,
"plugins": [{ "name": "next" }],

// testing & types
"types": ["node", "jest", "@testing-library/jest-dom"]
// types
"types": ["node"]
}
}
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@risc0/ui",
"version": "0.0.179",
"version": "0.0.180",
"private": false,
"sideEffects": false,
"type": "module",
Expand Down Expand Up @@ -55,7 +55,6 @@
"@testing-library/jest-dom": "6.5.0",
"@testing-library/react": "16.0.1",
"@testing-library/react-hooks": "8.0.1",
"@types/jest": "29.5.13",
"@vitejs/plugin-react-swc": "3.7.1",
"@vitest/coverage-v8": "2.0.5",
"deepmerge": "4.3.1",
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"extends": "./config/tsconfig.base.json",
"compilerOptions": {
/* Path Aliases */
"baseUrl": "."
"baseUrl": ".",
"types": ["vitest/globals"]
},
"include": ["**/*.ts", "**/*.tsx"],
"exclude": ["node_modules"]
Expand Down

0 comments on commit 4ab0d5b

Please sign in to comment.