Commit 770d890
committed
test(tauri): add mock for readdirSync in pathResolver tests
- Introduced a mock implementation for `readdirSync` in `pathResolver.spec.ts` to enhance test coverage for scenarios where the directory is empty.
- This addition ensures that the `isTauriAppBuilt` function is tested under various conditions, improving the reliability of the tests.1 parent 8017cc1 commit 770d890
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
262 | 262 | | |
263 | 263 | | |
264 | 264 | | |
| 265 | + | |
265 | 266 | | |
266 | 267 | | |
267 | 268 | | |
| |||
0 commit comments