Skip to content

Commit cbf2ec6

Browse files
malwilleyryan953
authored andcommitted
chore(ui): Disable direct autoimport of testing-library libs (#39346)
Things like `fireEvent` and some other imports would appear at the top and we should always import from `sentry-test` instead.
1 parent c5ccd5f commit cbf2ec6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.vscode/settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@
3232
// Exclude Specific Files from Auto-Imports
3333
"typescript.preferences.autoImportFileExcludePatterns": [
3434
"**/node_modules/@storybook/theming/*",
35-
"**/node_modules/@storybook/addons/*"
35+
"**/node_modules/@storybook/addons/*",
36+
"**/node_modules/@testing-library/*"
3637
],
3738

3839
"[typescriptreact]": {

0 commit comments

Comments
 (0)