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?
This commit is contained in:
Alessio Gravili
2025-01-23 17:41:06 -07:00
committed by GitHub
parent 59545b5fe5
commit 03f7bdf1ee

View File

@@ -52,5 +52,7 @@
"jestrunner.jestCommand": "pnpm exec cross-env NODE_OPTIONS=\"--no-deprecation\" node 'node_modules/jest/bin/jest.js'",
"jestrunner.debugOptions": {
"runtimeArgs": ["--no-deprecation"]
}
},
// Essentially disables bun test buttons
"bun.test.filePattern": "bun.test.ts"
}