jest-codemods
jest-codemods copied to clipboard
[Semi WIP] jasmine-globals: support arbitrary jasmineSpy.and.* usage
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 Sorry for me being slow at responding to your other PRs.
[email protected] contains a lot of your work. Thanks!