Skip to content

Commit

Permalink
capricorn86#584@patch: Fixes problem in the "global-registrator" pack…
Browse files Browse the repository at this point in the history
…age that makes it impossible to register Happy DOM globally again after unregistering it.
  • Loading branch information
luca992 authored and rudywaltz committed Oct 7, 2022
1 parent 744dbab commit 1343acb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/global-registrator/src/GlobalRegistrator.ts
Expand Up @@ -33,6 +33,7 @@ export default class GlobalRegistrator {
}
for (const key of this.registered) {
delete global[key];
this.registered.pop();
}
}
}

0 comments on commit 1343acb

Please sign in to comment.