Skip to content

Commit

Permalink
update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
hsubox76 committed Jul 19, 2024
1 parent 3128ce7 commit 77fb068
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/util/src/environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 77fb068

Please sign in to comment.