Open ScreamZ opened 10 hours ago
Also, vscode fails in debug tests randomly.
bun test v1.1.37 (8ca0eb83)
src/middleware/publicProcedure.test.ts:
Debugger attached.
# Unhandled error between tests
-------------------------------
4 |
5 | import { createTestSuite, createTestTrpcCaller } from '~@/utils/test.helpers';
6 |
7 | const suite = await createTestSuite();
8 |
9 | describe('publicProcedure', () => {
^
TypeError: Cannot convert a symbol to a string
at /publicProcedure.test.ts:9:1
-------------------------------
0 pass
1 fail
1 error
Ran 1 tests across 1 files. [3.66s]
Debugger detached.
The main issue should be fixed in canary, but people have reported it still slow afterwards.
bun upgrade --canary
What version of Bun is running?
1.1.37+8ca0eb831
What platform is your computer?
Darwin 24.0.0 arm64 arm
What steps can reproduce the bug?
I'm not able to tell exactly when it started but using the VSCode extension for bun now trigger an error in the console, before running the expected TypeScript code.
Inside VSCode terminal
A simple
now run
bun poke.ts
and get:Without bun extension for VSCode
With Bun extension for VSCode (after re-opening the terminal)
What is the expected behavior?
There should be no error in the console.
What do you see instead?
Additional information
No response