@budibase/backend-core 2.9.39 → 2.9.40-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1711,13 +1711,10 @@ var init_identity = __esm({
1711
1711
 
1712
1712
  // src/environment.ts
1713
1713
  function isTest() {
1714
- return isCypress() || isJest();
1714
+ return isJest();
1715
1715
  }
1716
1716
  function isJest() {
1717
- return !!(process.env.NODE_ENV === "jest" || process.env.JEST_WORKER_ID);
1718
- }
1719
- function isCypress() {
1720
- return process.env.NODE_ENV === "cypress";
1717
+ return process.env.NODE_ENV === "jest" || process.env.JEST_WORKER_ID != null && process.env.JEST_WORKER_ID !== "null";
1721
1718
  }
1722
1719
  function isDev() {
1723
1720
  return process.env.NODE_ENV !== "production";