Skip to content

Commit 77fb068

Browse files
committed
update comment
1 parent 3128ce7 commit 77fb068

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/util/src/environment.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ export function isNode(): boolean {
8080

8181
/**
8282
* 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
83+
* Note: This will return true for certain test frameworks that are incompletely
84+
* mimicking a browser, and should not lead to assuming all browser APIs are
8585
* available.
8686
*/
8787
export function isBrowser(): boolean {

0 commit comments

Comments
 (0)