File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
packages/plugin-testing-integration/src Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " @ima/plugin-testing-integration " : patch
3+ ---
4+
5+ Fix File class override in jsdom tests
6+
7+ - ** What?** Fix File class override in jsdom tests
8+ - ** Why?** Use correct global File class in jsdom
9+ - ** How?** Nothing.
Original file line number Diff line number Diff line change @@ -90,6 +90,7 @@ async function initImaApp(bootConfigMethods = {}) {
9090 // we should switch to `global-jsdom`, or take its implementation
9191 // as an inspiration for our own implementation
9292 global . CustomEvent = window . CustomEvent ; // Hotfix for Node 19+, we can remove this once we switch to `global-jsdom`
93+ global . File = window . File ; // Hotfix for Node 19+, we can remove this once we switch to `global-jsdom`
9394
9495 // set debug before IMA env debug
9596 global . $Debug = true ;
You can’t perform that action at this time.
0 commit comments