Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add prefer-to-be #106

Merged
merged 2 commits into from
Oct 19, 2022
Merged

Add prefer-to-be #106

merged 2 commits into from
Oct 19, 2022

Conversation

mskelton
Copy link
Member

Fixes #104

Also, this starts adding a new parseExpectCall function which borrows the concept from Jest's ESLint plugin so we have a single place to do parsing, then rules can be greatly simplified as the heavily lifting is already done. Additionally, we can cache the parse results like Jest did.

@mskelton mskelton requested a review from mxschmitt October 18, 2022 12:17
@mskelton mskelton merged commit afeb0a9 into main Oct 19, 2022
@mskelton mskelton deleted the prefer-to-be branch October 19, 2022 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

prefer-to-be
1 participant