diff --git a/packages/react-dev-utils/package.json b/packages/react-dev-utils/package.json index eab07c1be..440a60776 100644 --- a/packages/react-dev-utils/package.json +++ b/packages/react-dev-utils/package.json @@ -60,5 +60,8 @@ }, "scripts": { "test": "jest" + }, + "jest": { + "testURL": "http://localhost/" } } diff --git a/packages/react-error-overlay/package.json b/packages/react-error-overlay/package.json index fe6c7fd68..93aa7d57a 100644 --- a/packages/react-error-overlay/package.json +++ b/packages/react-error-overlay/package.json @@ -76,6 +76,7 @@ "/node_modules/", "/fixtures/", "setupJest.js" - ] + ], + "testURL": "http://localhost/" } } diff --git a/tasks/e2e-installs.sh b/tasks/e2e-installs.sh index d1150a874..3cf57247f 100755 --- a/tasks/e2e-installs.sh +++ b/tasks/e2e-installs.sh @@ -75,7 +75,7 @@ root_path=$PWD if hash npm 2>/dev/null then npm i -g npm@latest - npm cache clean || npm cache verify + npm cache verify fi # Bootstrap monorepo diff --git a/tasks/e2e-kitchensink.sh b/tasks/e2e-kitchensink.sh index 9a3f895a5..8598ab1c2 100755 --- a/tasks/e2e-kitchensink.sh +++ b/tasks/e2e-kitchensink.sh @@ -67,7 +67,7 @@ root_path=$PWD if hash npm 2>/dev/null then npm i -g npm@latest - npm cache clean || npm cache verify + npm cache verify fi # Bootstrap monorepo diff --git a/tasks/e2e-simple.sh b/tasks/e2e-simple.sh index a1eecbaf0..1671a54f9 100755 --- a/tasks/e2e-simple.sh +++ b/tasks/e2e-simple.sh @@ -79,7 +79,7 @@ fi if hash npm 2>/dev/null then npm i -g npm@latest - npm cache clean || npm cache verify + npm cache verify fi # Bootstrap monorepo