-
Notifications
You must be signed in to change notification settings - Fork 238
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: improve how jest function calls are resolved to account for imp…
…ort aliases (#1122) * feat: improve how jest function calls are resolved to account for import aliases * feat(no-focused-tests): switch to using new jest fn call parser * feat(require-top-level-describe): switch to using new jest fn call parser * feat(no-test-prefixes): switch to using new jest fn call parser * feat(prefer-lowercase-title): switch to using new jest fn call parser * feat(valid-title): switch to using new jest fn call parser * feat(no-identical-titles): switch to using new jest fn call parser * feat(no-duplicate-hooks): switch to using new jest fn call parser * feat(consistent-test-it): switch to using new jest fn call parser * feat: switch rules to using new jest fn call parser * chore: remove unused utils * refactor: move `scopeHasLocalReference` util function to deduplicate internal code * refactor: ensure complete test coverage * fix: consider imported `jest` property as a jest function * test: cover advanced cases for `parseJestFnCall` * chore: remove duplicated entries in valid jest fn call chains array * chore: linting fixes * fix: remove `failing` support (for now) * refactor: rename variable to be consistent * test: remove empty suggestions check
- Loading branch information
Showing
42 changed files
with
1,720 additions
and
1,645 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.