diff --git a/packages/server/src/utilities/index.js b/packages/server/src/utilities/index.js index e17a01b173..f162f25fb1 100644 --- a/packages/server/src/utilities/index.js +++ b/packages/server/src/utilities/index.js @@ -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"