-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
1 parent
0ec28c3
commit 97e3341
Showing
2 changed files
with
47 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@tauri-apps/api': 'patch:bug' | ||
--- | ||
|
||
`mockIPC` and `mockWindows` no longer crash if `window.__TAURI_INTERNALS__` is undefined. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters