Commit de29ef1
committed
refactor(tests): remove unnecessary onload callback in JSDOM setup
The onload callback in getDocument() was no longer needed since
global.document is set immediately after JSDOM creation. Removing
it simplifies the code and makes tests run faster.1 parent fced58e commit de29ef1
1 file changed
+1
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
109 | | - | |
110 | | - | |
| 108 | + | |
111 | 109 | | |
112 | 110 | | |
113 | 111 | | |
| |||
0 commit comments