I noticed that when I formulate Jasmine Expect with toMatch, and the line that contains the match contains (, it will fail. Has anyone else noticed this? If so, what have you done?
Example
This does not work or returns “False” when it should return “True”
expect("test (test) with other stuff").toMatch("test (test)");
This passes and returns "True"
expect("test %test% with other stuff").toMatch("test %test%");
source
share