diff --git a/CHANGELOG.md b/CHANGELOG.md index 323678f18053..f948ef1d1b0a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ ### Chore & Maintenance +- `[docs]` Update link to watchman troubleshooting docs ([#9727](https://github.com/facebook/jest/pull/9727)) - `[@jest/test-result]` Remove dependency on `@jest/transform`, which lead to a sprawling dependency tree ([#9747](https://github.com/facebook/jest/pull/9747)) - `[@jest/transform]` Expose type `TransformedSource` ([#9736](https://github.com/facebook/jest/pull/9736)) diff --git a/docs/Troubleshooting.md b/docs/Troubleshooting.md index 31d24539383e..743527af9b24 100644 --- a/docs/Troubleshooting.md +++ b/docs/Troubleshooting.md @@ -156,7 +156,7 @@ jest.setTimeout(10000); // 10 second timeout Try running Jest with [`--no-watchman`](CLI.md#--watchman) or set the `watchman` configuration option to `false`. -Also see [watchman troubleshooting](https://facebook.github.io/watchman/docs/troubleshooting.html). +Also see [watchman troubleshooting](https://facebook.github.io/watchman/docs/troubleshooting). ## Tests are Extremely Slow on Docker and/or Continuous Integration (CI) server. diff --git a/packages/jest-haste-map/src/crawlers/watchman.ts b/packages/jest-haste-map/src/crawlers/watchman.ts index fca26b50563e..2ee8a5a88fda 100644 --- a/packages/jest-haste-map/src/crawlers/watchman.ts +++ b/packages/jest-haste-map/src/crawlers/watchman.ts @@ -20,8 +20,7 @@ import type { type WatchmanRoots = Map>; -const watchmanURL = - 'https://facebook.github.io/watchman/docs/troubleshooting.html'; +const watchmanURL = 'https://facebook.github.io/watchman/docs/troubleshooting'; function WatchmanError(error: Error): Error { error.message = diff --git a/website/versioned_docs/version-22.x/Troubleshooting.md b/website/versioned_docs/version-22.x/Troubleshooting.md index 40e73c05d7ef..916f6bbd28b7 100644 --- a/website/versioned_docs/version-22.x/Troubleshooting.md +++ b/website/versioned_docs/version-22.x/Troubleshooting.md @@ -155,7 +155,7 @@ jest.setTimeout(10000); // 10 second timeout Try running Jest with [`--no-watchman`](CLI.md#--watchman) or set the `watchman` configuration option to `false`. -Also see [watchman troubleshooting](https://facebook.github.io/watchman/docs/troubleshooting.html). +Also see [watchman troubleshooting](https://facebook.github.io/watchman/docs/troubleshooting). ## Tests are Extremely Slow on Docker and/or Continuous Integration (CI) server. diff --git a/website/versioned_docs/version-23.x/Troubleshooting.md b/website/versioned_docs/version-23.x/Troubleshooting.md index fcb83d213c53..f2fe63b4c65b 100644 --- a/website/versioned_docs/version-23.x/Troubleshooting.md +++ b/website/versioned_docs/version-23.x/Troubleshooting.md @@ -157,7 +157,7 @@ jest.setTimeout(10000); // 10 second timeout Try running Jest with [`--no-watchman`](CLI.md#--watchman) or set the `watchman` configuration option to `false`. -Also see [watchman troubleshooting](https://facebook.github.io/watchman/docs/troubleshooting.html). +Also see [watchman troubleshooting](https://facebook.github.io/watchman/docs/troubleshooting). ## Tests are Extremely Slow on Docker and/or Continuous Integration (CI) server. diff --git a/website/versioned_docs/version-24.x/Troubleshooting.md b/website/versioned_docs/version-24.x/Troubleshooting.md index cbbaba3acfce..df47e2e6d3de 100644 --- a/website/versioned_docs/version-24.x/Troubleshooting.md +++ b/website/versioned_docs/version-24.x/Troubleshooting.md @@ -157,7 +157,7 @@ jest.setTimeout(10000); // 10 second timeout Try running Jest with [`--no-watchman`](CLI.md#--watchman) or set the `watchman` configuration option to `false`. -Also see [watchman troubleshooting](https://facebook.github.io/watchman/docs/troubleshooting.html). +Also see [watchman troubleshooting](https://facebook.github.io/watchman/docs/troubleshooting). ## Tests are Extremely Slow on Docker and/or Continuous Integration (CI) server.