We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3128ce7 commit 77fb068Copy full SHA for 77fb068
packages/util/src/environment.ts
@@ -80,8 +80,8 @@ export function isNode(): boolean {
80
81
/**
82
* Detect Browser Environment
83
- * Note: This will return true for JSDOM (e.g. Jest) as it is mimicking
84
- * a browser, and should not lead to assuming all browser APIs are
+ * Note: This will return true for certain test frameworks that are incompletely
+ * mimicking a browser, and should not lead to assuming all browser APIs are
85
* available.
86
*/
87
export function isBrowser(): boolean {
0 commit comments