mentie 0.1.10 → 0.1.11

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.
@@ -12,7 +12,7 @@ export const is_web = typeof window !== 'undefined'
12
12
  * Checks if the code is running within a Cypress environment.
13
13
  * @returns {boolean} Returns true if the code is running in a Cypress environment, otherwise returns false.
14
14
  */
15
- export const is_cypress = typeof Cypress !== 'undefined'
15
+ export const is_cypress = is_web && typeof window.Cypress !== 'undefined'
16
16
 
17
17
  /**
18
18
  * Checks if the code is running in a Node environment.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mentie",
3
- "version": "0.1.10",
3
+ "version": "0.1.11",
4
4
  "description": "Mentor's toolbelt",
5
5
  "type": "module",
6
6
  "main": "index.js",