Skip to content

Commit

Permalink
fix: update anchor link to doc (#9616)
Browse files Browse the repository at this point in the history
* fix: update anchor link to doc

* Update changelog
  • Loading branch information
FanchGadjo authored Feb 26, 2020
1 parent 003bd50 commit 4f4513b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
- `[jest-runtime]` Move execution of `setupFiles` to `jest-runner` ([#9596](https://github.com/facebook/jest/pull/9596))
- `[@jest/reporters]` Remove unused dependencies and type exports ([#9462](https://github.com/facebook/jest/pull/9462))
- `[website]` Update pictures of reports when matchers fail ([#9214](https://github.com/facebook/jest/pull/9214))
- `[jest-runtime]` Update anchor link in `helpers` ([#9616](https://github.com/facebook/jest/pull/9616))

### Performance

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ FAIL __tests__/test.js
You might want to include a file extension in your import, or update your 'moduleFileExtensions', which is currently ['js'].
See https://jestjs.io/docs/en/configuration#modulefileextensions-array-string
See https://jestjs.io/docs/en/configuration#modulefileextensions-arraystring
6 | */
7 |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ However, Jest was able to find:
You might want to include a file extension in your import, or update your 'moduleFileExtensions', which is currently ['js', 'json', 'jsx', 'ts', 'tsx', 'node'].
See https://jestjs.io/docs/en/configuration#modulefileextensions-array-string"
See https://jestjs.io/docs/en/configuration#modulefileextensions-arraystring"
`;
2 changes: 1 addition & 1 deletion packages/jest-runtime/src/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export const findSiblingsWithFileExtension = (
return (
foundMessage +
"\n\nYou might want to include a file extension in your import, or update your 'moduleFileExtensions', which is currently " +
`[${mappedModuleFileExtensions}].\n\nSee https://jestjs.io/docs/en/configuration#modulefileextensions-array-string`
`[${mappedModuleFileExtensions}].\n\nSee https://jestjs.io/docs/en/configuration#modulefileextensions-arraystring`
);
}
} catch (ignored) {}
Expand Down

0 comments on commit 4f4513b

Please sign in to comment.