Skip to content

Commit 7e2e25d

Browse files
committed
fix: test fails in mac/linux desktop
1 parent 28a569b commit 7e2e25d

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

test/test-dir.browser.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
/* global expect , Filer, fs, waitForTrue, TEST_TYPE_FS_ACCESS, TEST_TYPE_FILER, TEST_TYPE_TAURI, TEST_TYPE_TAURI_WS, path, iconv*/
22

3-
const IS_WINDOWS = navigator.userAgent.includes('Windows');
4-
53
function _setupTests(testType) {
4+
const IS_WINDOWS = navigator.userAgent.includes('Windows');
65
let testPath;
76

87
function consoleLogToShell(message) {

test/test-file.browser.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
/* global expect , Filer, fs, TEST_TYPE_FS_ACCESS, TEST_TYPE_FILER, TEST_TYPE_TAURI, TEST_TYPE_TAURI_WS*/
22

3-
const IS_WINDOWS = navigator.userAgent.includes('Windows');
4-
53
function _setupTests(testType) {
4+
const IS_WINDOWS = navigator.userAgent.includes('Windows');
65
let testPath;
76

87
function consoleLogToShell(message) {

0 commit comments

Comments
 (0)