adding cloud check to dev check
This commit is contained in:
parent
859577299d
commit
cc62b60edd
|
@ -2,6 +2,7 @@ exports.wait = ms => new Promise(resolve => setTimeout(resolve, ms))
|
||||||
|
|
||||||
exports.isDev = () => {
|
exports.isDev = () => {
|
||||||
return (
|
return (
|
||||||
|
!process.env.CLOUD &&
|
||||||
process.env.NODE_ENV !== "production" &&
|
process.env.NODE_ENV !== "production" &&
|
||||||
process.env.NODE_ENV !== "jest" &&
|
process.env.NODE_ENV !== "jest" &&
|
||||||
process.env.NODE_ENV !== "cypress"
|
process.env.NODE_ENV !== "cypress"
|
||||||
|
|
Loading…
Reference in New Issue