From e68bceb895b812a27d30c37cd758ea990265d1e3 Mon Sep 17 00:00:00 2001 From: eddyerburgh Date: Fri, 26 Oct 2018 06:05:25 +0100 Subject: [PATCH 1/3] Add correct testURL default in docs --- docs/Configuration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Configuration.md b/docs/Configuration.md index 55281c790207..73a841747cc1 100644 --- a/docs/Configuration.md +++ b/docs/Configuration.md @@ -905,7 +905,7 @@ An example of such function can be found in our default [jasmine2 test runner pa ### `testURL` [string] -Default: `about:blank` +Default: `http://localhost` This option sets the URL for the jsdom environment. It is reflected in properties such as `location.href`. From fa5742f2dc284ecbe8fdb6e5223532787a7fa44a Mon Sep 17 00:00:00 2001 From: eddyerburgh Date: Fri, 26 Oct 2018 08:37:02 +0100 Subject: [PATCH 2/3] Update versioned docs --- website/versioned_docs/version-23.5/Configuration.md | 2 +- website/versioned_docs/version-23.6/Configuration.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/website/versioned_docs/version-23.5/Configuration.md b/website/versioned_docs/version-23.5/Configuration.md index d7876e3f1569..ce8bb1ae41ae 100644 --- a/website/versioned_docs/version-23.5/Configuration.md +++ b/website/versioned_docs/version-23.5/Configuration.md @@ -871,7 +871,7 @@ An example of such function can be found in our default [jasmine2 test runner pa ### `testURL` [string] -Default: `about:blank` +Default: `http://localhost` This option sets the URL for the jsdom environment. It is reflected in properties such as `location.href`. diff --git a/website/versioned_docs/version-23.6/Configuration.md b/website/versioned_docs/version-23.6/Configuration.md index 430741801ac9..617f06826036 100644 --- a/website/versioned_docs/version-23.6/Configuration.md +++ b/website/versioned_docs/version-23.6/Configuration.md @@ -881,7 +881,7 @@ An example of such function can be found in our default [jasmine2 test runner pa ### `testURL` [string] -Default: `about:blank` +Default: `http://localhost` This option sets the URL for the jsdom environment. It is reflected in properties such as `location.href`. From 5a2c0a3d26a5036477ab7b88a6bc9af84c4eff97 Mon Sep 17 00:00:00 2001 From: eddyerburgh Date: Fri, 26 Oct 2018 08:40:29 +0100 Subject: [PATCH 3/3] Add Changelog entry --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 264c361ed430..6610643f005a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -84,6 +84,7 @@ - `[*]` Add babel plugin to make sure Jest is unaffected by fake Promise implementations ([#7225](https://github.com/facebook/jest/pull/7225)) - `[jest-haste-map]` Standardize filenames ([#7266](https://github.com/facebook/jest/pull/7266)) - `[*]` [**BREAKING**] Require Node.js 6+ for all packages ([#7258](https://github.com/facebook/jest/pull/7258)) +- `[docs]` Add correct default value for `testUrl` config option ([#7277](https://github.com/facebook/jest/pull/7277)) ### Performance