diff --git a/packages/util/src/environment.ts b/packages/util/src/environment.ts index 11eb26755db..998000308c3 100644 --- a/packages/util/src/environment.ts +++ b/packages/util/src/environment.ts @@ -80,8 +80,8 @@ export function isNode(): boolean { /** * Detect Browser Environment - * Note: This will return true for JSDOM (e.g. Jest) as it is mimicking - * 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 * available. */ export function isBrowser(): boolean {