adding cloud check to dev check

This commit is contained in:
Martin McKeaveney 2020-10-28 21:27:37 +00:00
parent caab43a312
commit ffc2c7bd5f
1 changed files with 1 additions and 0 deletions

View File

@ -2,6 +2,7 @@ exports.wait = ms => new Promise(resolve => setTimeout(resolve, ms))
exports.isDev = () => {
return (
!process.env.CLOUD &&
process.env.NODE_ENV !== "production" &&
process.env.NODE_ENV !== "jest" &&
process.env.NODE_ENV !== "cypress"