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

fix(jest,npm): Explicitly set testURL for jest; remove npm cache clea… #383

Merged
merged 1 commit into from
Aug 28, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions packages/react-dev-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,8 @@
},
"scripts": {
"test": "jest"
},
"jest": {
"testURL": "http://localhost/"
}
}
3 changes: 2 additions & 1 deletion packages/react-error-overlay/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@
"/node_modules/",
"/fixtures/",
"setupJest.js"
]
],
"testURL": "http://localhost/"
}
}
2 changes: 1 addition & 1 deletion tasks/e2e-installs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tasks/e2e-kitchensink.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tasks/e2e-simple.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down