vscode
vscode copied to clipboard
Ignores tests with () or [] in name
I cannot run individual tests if their names contain something in brackets
describe('test', () => {
it('case (e)', () => {
assert.equal(1, 2)
})
})
When I click run test it runs and I see next:
In test panel:

In file:

It doesn't work with squared brackets 'case [e]' It works if I run describe It works with curly brackets 'case {e}' It works with empty brackets 'case ()'
Thanks
Looks like something is wrong in the Vitest JSON output when a test case name contains brackets
This issue was fixed for me by #94 (v0.2.32)