Skip to content

Commit

Permalink
#1049@trivial: Fixes unit test.
Browse files Browse the repository at this point in the history
  • Loading branch information
capricorn86 committed Sep 20, 2023
1 parent 497db1d commit d7d4cc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/global-registrator/test/react/React.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function unmountReactComponent(): void {
}
}

if (global.setTimeout !== window.setTimeout) {
if (global.setTimeout === originalSetTimeout) {
throw Error('Happy DOM function not registered.');
}

Expand Down

0 comments on commit d7d4cc9

Please sign in to comment.