diff --git a/.vscode/settings.json b/.vscode/settings.json index f5ca882b0..85b3b8121 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -20,5 +20,8 @@ }, "[typescript]": { "editor.defaultFormatter": "biomejs.biome" - } + }, + "cSpell.words": [ + "rstest" + ] } diff --git a/rsbuild/react-rstest/tests/tsconfig.json b/rsbuild/react-rstest/tests/tsconfig.json index 8a386d8ed..1a739e163 100644 --- a/rsbuild/react-rstest/tests/tsconfig.json +++ b/rsbuild/react-rstest/tests/tsconfig.json @@ -1,7 +1,7 @@ { "extends": "../tsconfig.json", "compilerOptions": { - "types": ["@testing-library/jest-dom"] + "types": ["@testing-library/jest-dom", "@rstest/core/globals"] }, "include": ["./"] }