From 4ab0d5b96ef9a0d551ef29fa9fd8241590dc9082 Mon Sep 17 00:00:00 2001 From: Cohan Carpentier Date: Tue, 1 Oct 2024 13:21:35 -0400 Subject: [PATCH] fix: vitest/global --- config/tsconfig.base.json | 4 ++-- package.json | 3 +-- tsconfig.json | 3 ++- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/config/tsconfig.base.json b/config/tsconfig.base.json index c92ea9a..6b30817 100644 --- a/config/tsconfig.base.json +++ b/config/tsconfig.base.json @@ -26,7 +26,7 @@ "noEmit": true, "plugins": [{ "name": "next" }], - // testing & types - "types": ["node", "jest", "@testing-library/jest-dom"] + // types + "types": ["node"] } } diff --git a/package.json b/package.json index 7e7e4c2..58b931a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@risc0/ui", - "version": "0.0.179", + "version": "0.0.180", "private": false, "sideEffects": false, "type": "module", @@ -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", diff --git a/tsconfig.json b/tsconfig.json index e60369d..b2dffd5 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,7 +2,8 @@ "extends": "./config/tsconfig.base.json", "compilerOptions": { /* Path Aliases */ - "baseUrl": "." + "baseUrl": ".", + "types": ["vitest/globals"] }, "include": ["**/*.ts", "**/*.tsx"], "exclude": ["node_modules"]