Jasmine's --filter= CLI argument isn't properly escaped for Regex.
For example
describe("Utils", () => {
describe("myFunction()", () => {
it("works", () => { // <-- I'm trying to run tests only for this block
expect(true).toBeTrue();
});
});
// other utils
});
Produces this command, which doesn't correctly filter
Jasmine's
--filter=
CLI argument isn't properly escaped for Regex.For example
Produces this command, which doesn't correctly filter
It looks like the filter argument is directly passed to
Jasmin.execute()
and it's expected to be a Regex string.