adding cloud check to dev check
This commit is contained in:
parent
caab43a312
commit
ffc2c7bd5f
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue