Commit 1e1bbdb
committed
fix: ensure window.api is undefined in API tests
The CI environment may have window.api defined, causing the APIProvider
to use the Electron client path instead of the WebSocket path, resulting
in no MockWebSocket instances being created.
Change-Id: Ic971f4e0fe8dd6efc997b04a42181eaae626b2b8
Signed-off-by: Thomas Kosiewski <tk@coder.com>1 parent 1961eea commit 1e1bbdb
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| 96 | + | |
| 97 | + | |
96 | 98 | | |
97 | 99 | | |
98 | 100 | | |
| |||
0 commit comments