You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I attempt to run an individual failing test VSCode will open a new editor tab with an empty file '/' and an error message The editor could not be opened because the file was not found.
This only happens when running a test individually, not from a describe block etc. It does not happen on a successful test. I have verified that it happens if using simple assert or using Chai.
In addition to popping up the new tab, the inline error & log messages don't show. The test is still listed as having failed in the outliner and the editor margin.
An example:
import{describe,it}from"node:test";import{expect}from"chai";describe('base64ToHex',()=>{it('handles empty string',()=>{// I would expect to see an error message here when the test failsconstbase64='';constexpectedHex='';console.log("ping")// I would expect to see 'ping' here when the test is runexpect(base64ToHex(base64)).to.not.equal(expectedHex);console.log("pong")});});
My vscode version is 1.91.1, node 22.5.1, and I'm running with these settings:
If I attempt to run an individual failing test VSCode will open a new editor tab with an empty file '/' and an error message
The editor could not be opened because the file was not found.
This only happens when running a test individually, not from a describe block etc. It does not happen on a successful test. I have verified that it happens if using simple
assert
or using Chai.In addition to popping up the new tab, the inline error & log messages don't show. The test is still listed as having failed in the outliner and the editor margin.
An example:
My vscode version is 1.91.1, node 22.5.1, and I'm running with these settings:
The text was updated successfully, but these errors were encountered: