jest-codemods icon indicating copy to clipboard operation
jest-codemods copied to clipboard

[Semi WIP] jasmine-globals: support arbitrary jasmineSpy.and.* usage

Open JHilker opened this issue 5 years ago • 1 comments

This is a bit move involved, but it works to find any .and.* usage if the spy is defined as a variable and mutated later.

I'm going test it a bit more while adding other features, but figured I'd toss this PR up now since it should be in a pretty good state, but I could definitely foresee some edge cases given the scope of it.

JHilker avatar Apr 04 '19 19:04 JHilker

@JHilker Sorry for me being slow at responding to your other PRs.

[email protected] contains a lot of your work. Thanks!

skovhus avatar May 27 '19 21:05 skovhus