mirror of https://github.com/Budibase/budibase.git
4 changed files with 34 additions and 14 deletions
@ -1 +1,9 @@ |
|||
exports.wait = ms => new Promise(resolve => setTimeout(resolve, ms)) |
|||
|
|||
exports.isDev = () => { |
|||
return ( |
|||
process.env.NODE_ENV !== "production" && |
|||
process.env.NODE_ENV !== "jest" && |
|||
process.env.NODE_ENV !== "cypress" |
|||
) |
|||
} |
|||
|
|||
Loading…
Reference in new issue