Open mickmister opened 8 months ago
hey @mickmister
jest-editor-support uses babel-parser to parse the test code.
https://github.com/firsttris/vscode-jest-runner/blob/master/src/parser.ts#L2 https://github.com/firsttris/vscode-jest-runner/blob/master/src/JestRunnerCodeLensProvider.ts#L60
i could imagine that this feature is not supported by babel-parser yet.
Hi @firsttris, thanks for your quick response. Do you have a suggestion in how I might verify this, or request that this be done? Possibly request this in their repository? https://github.com/babel/babel
somewhere on the bable site there was a section with features and plugins i remember. i remember this because we migrated from typescript to babel-parser in jest-editor-support.
Hi I'm using the
using
keyword in my test, but this makes it so the "run test" buttons go away. This was added in typescript 5.2 https://www.typescriptlang.org/docs/handbook/release-notes/typescript-5-2.html#using-declarations-and-explicit-resource-managementHow might I help fix this?