Skip to content

Commit 03f7bdf

Browse files
authored
chore: disable bun run test buttons if bun extension is installed (#10775)
If the bun extension is installed, a "Run Test" button is displayed in int test files. Clicking it will use bun to run those tests, which will always fail. This PR disables that test button, as it's useless in our repo ![CleanShot 2025-01-23 at 17 39 03@2x](https://github.com/user-attachments/assets/918fa729-8076-4214-a3d2-f824a4fbfc34) The real button here is "Run". Clicking "Run Test" instead will use bun and fail. Confusing, right?
1 parent 59545b5 commit 03f7bdf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.vscode/settings.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,7 @@
5252
"jestrunner.jestCommand": "pnpm exec cross-env NODE_OPTIONS=\"--no-deprecation\" node 'node_modules/jest/bin/jest.js'",
5353
"jestrunner.debugOptions": {
5454
"runtimeArgs": ["--no-deprecation"]
55-
}
55+
},
56+
// Essentially disables bun test buttons
57+
"bun.test.filePattern": "bun.test.ts"
5658
}

0 commit comments

Comments
 (0)