nvim-neotest / neotest-jest

MIT License
118 stars 79 forks source link

Test name pattern is wrong if test name contains quotes #33

Closed mrjones2014 closed 2 years ago

mrjones2014 commented 2 years ago

:lua require('neotest').run.run() runs with the wrong test name pattern if the test name contains quotes

e.g. test name like:

describe("something", () => {
  it("should find substring 'test'", () => {
    const input = "this is a test";
    expect(input.indexOf("test")).toBeGreaterThan(0);
  });
})