neotest-jest
neotest-jest copied to clipboard
Support template_string as test name
Tests written as test(`Some test`) are not supported (the test name is written in back ticks), it would be nice if we can support them.
Additionally, it("has `backticks` in other quotes") doesn't work either
I just encountered the same issue, just raised a PR to fix it (#112), seems to now work all okay locally.
With these changes should now detect tests like:
describe(`some describe`, () => {})
describe("`some describe` in a string", () => {})
it(`some it`, () => {})
it("`some it` in a string", () => {})
Shows up in the summary page like the below
some describe
`some describe` in a string
some it
`some it` in a string