Skip to content

Commit b8f8666

Browse files
fix: make isTauri runtime-unrelated (#13145)
* Update core.ts * Update core.ts * Update core.ts * lint * build * fix lint, add change file --------- Co-authored-by: Lucas Nogueira <lucas@tauri.app>
1 parent 7ed877a commit b8f8666

3 files changed

Lines changed: 8 additions & 2 deletions

File tree

.changes/isTauri-tests.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@tauri-apps/api": patch:enhance
3+
---
4+
5+
`core.isTauri` now leverages `globalThis` instead of `window` in order to be used in unit tests.

0 commit comments

Comments
 (0)