test: fix circleci tests (#3927)

This commit is contained in:
Rhys Arkins 2019-06-12 23:05:35 +02:00 committed by GitHub
parent 73af6f7f3c
commit 388c6010d2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -458,6 +458,9 @@ function localName(branchName: string) {
// istanbul ignore next // istanbul ignore next
function checkForPlatformFailure(err: Error) { function checkForPlatformFailure(err: Error) {
if (process.env.CIRCLECI) {
return;
}
const platformErrorStrings = [ const platformErrorStrings = [
'The requested URL returned error: 5', 'The requested URL returned error: 5',
'The remote end hung up unexpectedly', 'The remote end hung up unexpectedly',