Skip to content
This repository was archived by the owner on Jan 26, 2019. It is now read-only.

Commit 393cf6c

Browse files
committed
fix(jest,npm): Explicitly set testURL for jest; remove npm cache clean, since no longer required.
1 parent 2ffd32b commit 393cf6c

File tree

5 files changed

+8
-4
lines changed

5 files changed

+8
-4
lines changed

packages/react-dev-utils/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,8 @@
6060
},
6161
"scripts": {
6262
"test": "jest"
63+
},
64+
"jest": {
65+
"testURL": "http://localhost/"
6366
}
6467
}

packages/react-error-overlay/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@
7676
"/node_modules/",
7777
"/fixtures/",
7878
"setupJest.js"
79-
]
79+
],
80+
"testURL": "http://localhost/"
8081
}
8182
}

tasks/e2e-installs.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ root_path=$PWD
7575
if hash npm 2>/dev/null
7676
then
7777
npm i -g npm@latest
78-
npm cache clean || npm cache verify
78+
npm cache verify
7979
fi
8080

8181
# Bootstrap monorepo

tasks/e2e-kitchensink.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ root_path=$PWD
6767
if hash npm 2>/dev/null
6868
then
6969
npm i -g npm@latest
70-
npm cache clean || npm cache verify
70+
npm cache verify
7171
fi
7272

7373
# Bootstrap monorepo

tasks/e2e-simple.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ fi
7979
if hash npm 2>/dev/null
8080
then
8181
npm i -g npm@latest
82-
npm cache clean || npm cache verify
82+
npm cache verify
8383
fi
8484

8585
# Bootstrap monorepo

0 commit comments

Comments
 (0)