Skip to content

fix(test): suppress Jest haste collision warning#53

Merged
luojiyin1987 merged 1 commit into
masterfrom
fix/jest-haste-collision
Jun 20, 2026
Merged

fix(test): suppress Jest haste collision warning#53
luojiyin1987 merged 1 commit into
masterfrom
fix/jest-haste-collision

Conversation

@luojiyin1987

Copy link
Copy Markdown
Contributor

Closes #52

Add modulePathIgnorePatterns: ["<rootDir>/esm/", "<rootDir>/lib/"] to Jest config to suppress the haste collision warning caused by build output sharing the same module name as the root package.

  • Warning no longer appears in test output
  • 25/25 tests passed

@luojiyin1987 luojiyin1987 merged commit 92cdd42 into master Jun 20, 2026
5 checks passed
@luojiyin1987 luojiyin1987 deleted the fix/jest-haste-collision branch June 20, 2026 15:56
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.

fix(test): suppress Jest haste collision warning

1 participant