test: check NODE_ENV instead of CI

Fixes test problem on WSL
This commit is contained in:
Rhys Arkins 2019-10-02 16:59:09 +03:00
parent 44e0d36b39
commit ecdb9b3c3b

View file

@ -483,7 +483,7 @@ function localName(branchName: string) {
// istanbul ignore next
function checkForPlatformFailure(err: Error) {
if (process.env.CI) {
if (process.env.NODE_ENV === 'test') {
return;
}
const platformFailureStrings = [