Skip to content

Commit

Permalink
fixup! add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
aduh95 committed Jan 27, 2022
1 parent 920b844 commit c2056f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/jest-environment-node/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class NodeEnvironment implements JestEnvironment<Timer> {
if (typeof performance !== 'undefined') {
global.performance = performance;
}
// performance is global in Node >= 16
// atob and btoa are global in Node >= 16
if (typeof atob !== 'undefined' && typeof btoa !== 'undefined') {
global.atob = atob;
global.btoa = btoa;
Expand Down

0 comments on commit c2056f3

Please sign in to comment.