Skip to content

Commit 4f4513b

Browse files
authored
fix: update anchor link to doc (#9616)
* fix: update anchor link to doc * Update changelog
1 parent 003bd50 commit 4f4513b

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
- `[jest-runtime]` Move execution of `setupFiles` to `jest-runner` ([#9596](https://github.com/facebook/jest/pull/9596))
3939
- `[@jest/reporters]` Remove unused dependencies and type exports ([#9462](https://github.com/facebook/jest/pull/9462))
4040
- `[website]` Update pictures of reports when matchers fail ([#9214](https://github.com/facebook/jest/pull/9214))
41+
- `[jest-runtime]` Update anchor link in `helpers` ([#9616](https://github.com/facebook/jest/pull/9616))
4142

4243
### Performance
4344

e2e/__tests__/__snapshots__/resolveNoFileExtensions.test.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ FAIL __tests__/test.js
2424
2525
You might want to include a file extension in your import, or update your 'moduleFileExtensions', which is currently ['js'].
2626
27-
See https://jestjs.io/docs/en/configuration#modulefileextensions-array-string
27+
See https://jestjs.io/docs/en/configuration#modulefileextensions-arraystring
2828
2929
6 | */
3030
7 |

packages/jest-runtime/src/__tests__/__snapshots__/runtime_require_module_no_ext.test.js.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ However, Jest was able to find:
88
99
You might want to include a file extension in your import, or update your 'moduleFileExtensions', which is currently ['js', 'json', 'jsx', 'ts', 'tsx', 'node'].
1010
11-
See https://jestjs.io/docs/en/configuration#modulefileextensions-array-string"
11+
See https://jestjs.io/docs/en/configuration#modulefileextensions-arraystring"
1212
`;

packages/jest-runtime/src/helpers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export const findSiblingsWithFileExtension = (
4545
return (
4646
foundMessage +
4747
"\n\nYou might want to include a file extension in your import, or update your 'moduleFileExtensions', which is currently " +
48-
`[${mappedModuleFileExtensions}].\n\nSee https://jestjs.io/docs/en/configuration#modulefileextensions-array-string`
48+
`[${mappedModuleFileExtensions}].\n\nSee https://jestjs.io/docs/en/configuration#modulefileextensions-arraystring`
4949
);
5050
}
5151
} catch (ignored) {}

0 commit comments

Comments
 (0)