Skip to content

Commit

Permalink
removed window for globalThis, so oauth2 tests can run in node
Browse files Browse the repository at this point in the history
  • Loading branch information
poef committed Jan 7, 2025
1 parent 2a6c09c commit a468662
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/browser.mjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import * as metro from './metro.mjs'

window.metro = metro
globalThis.metro = metro

export default metro
2 changes: 1 addition & 1 deletion src/everything.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ const metro = Object.assign({}, m, {
}
})

window.metro = metro
globalThis.metro = metro

export default metro

0 comments on commit a468662

Please sign in to comment.