From 96fae8c8d46cfc481d860c24a080442f9a582242 Mon Sep 17 00:00:00 2001 From: David Johnston Date: Mon, 30 Mar 2020 13:59:10 +1100 Subject: [PATCH 1/4] Fix broken link --- docs/Troubleshooting.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. From 4c5a22164aadbabb9cb273ff029c4d087dee97cb Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Thu, 2 Apr 2020 10:40:32 +0200 Subject: [PATCH 2/4] update code link and versioned docs --- packages/jest-haste-map/src/crawlers/watchman.ts | 2 +- website/versioned_docs/version-22.x/Troubleshooting.md | 2 +- website/versioned_docs/version-23.x/Troubleshooting.md | 2 +- website/versioned_docs/version-24.x/Troubleshooting.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/jest-haste-map/src/crawlers/watchman.ts b/packages/jest-haste-map/src/crawlers/watchman.ts index fca26b50563e..bc7e5ad28d96 100644 --- a/packages/jest-haste-map/src/crawlers/watchman.ts +++ b/packages/jest-haste-map/src/crawlers/watchman.ts @@ -21,7 +21,7 @@ import type { type WatchmanRoots = Map>; const watchmanURL = - 'https://facebook.github.io/watchman/docs/troubleshooting.html'; + '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. From 4d88f7498e2c0f37cd5ca1a0e23f9f2158494897 Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Thu, 2 Apr 2020 10:42:18 +0200 Subject: [PATCH 3/4] changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) 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)) From dccae5f4f9250edd6e4fc0e799aa5fb59674adb5 Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Thu, 2 Apr 2020 10:44:14 +0200 Subject: [PATCH 4/4] eslint --- packages/jest-haste-map/src/crawlers/watchman.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/jest-haste-map/src/crawlers/watchman.ts b/packages/jest-haste-map/src/crawlers/watchman.ts index bc7e5ad28d96..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'; +const watchmanURL = 'https://facebook.github.io/watchman/docs/troubleshooting'; function WatchmanError(error: Error): Error { error.message =