You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
console.log('Success! Codecov\'s API returned the correct coverage percentage, '+process.env.CORRECT_COVERAGE)
returnprocess.exit(0);
}else{
console.log('Codecov did not return the correct coverage percentage. Coverage percentage should be '+process.env.CORRECT_COVERAGE+' but Codecov returned '+coverage_percentage)
returnprocess.exit(1);
}
}else{
console.log(`There was a problem calling the API. Please double check the url ${options.url}`)
returnprocess.exit(1);
}
}
constnapTime=(milliseconds)=>{
console.log('Waiting 60 seconds for report to upload before pinging API...')