I have a minimal case that's causing a bad replacement. I have a series of test suites using Jasmine and I'd like to make sure that we are always using .toBe for strings and never .toEqual. The replacement is not giving me good results.
As you can see, Grasp grabs the string nested down in the $e expression and assigns it to _str$s during the replacement. This is giving me incorrect results.
I have a minimal case that's causing a bad replacement. I have a series of test suites using Jasmine and I'd like to make sure that we are always using
.toBe
for strings and never.toEqual
. The replacement is not giving me good results.Here's my minimal case.
Here's what I expect the replacement to produce:
Here's the actual output:
As you can see, Grasp grabs the string nested down in the
$e
expression and assigns it to_str$s
during the replacement. This is giving me incorrect results.