tauri/.changes/fix-mock-tauri-internals.md
Fabian-Lars 97e3341299
fix(api.js): mock __TAURI_INTERNALS__ in mockIPC and mockWindows (#8534)
* fix(api.js): mock `__TAURI_INTERNALS__` in `mockIPC` and `mockWindows`

* mock internals.invoke instead of internals.ipc
2024-01-04 01:37:27 +02:00

130 B

@tauri-apps/api
patch:bug

mockIPC and mockWindows no longer crash if window.__TAURI_INTERNALS__ is undefined.