Skip to content

Commit

Permalink
fix: test fails in mac/linux desktop
Browse files Browse the repository at this point in the history
  • Loading branch information
abose committed Jun 19, 2024
1 parent 28a569b commit 7e2e25d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions test/test-dir.browser.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
/* global expect , Filer, fs, waitForTrue, TEST_TYPE_FS_ACCESS, TEST_TYPE_FILER, TEST_TYPE_TAURI, TEST_TYPE_TAURI_WS, path, iconv*/

const IS_WINDOWS = navigator.userAgent.includes('Windows');

function _setupTests(testType) {
const IS_WINDOWS = navigator.userAgent.includes('Windows');
let testPath;

function consoleLogToShell(message) {
Expand Down
3 changes: 1 addition & 2 deletions test/test-file.browser.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
/* global expect , Filer, fs, TEST_TYPE_FS_ACCESS, TEST_TYPE_FILER, TEST_TYPE_TAURI, TEST_TYPE_TAURI_WS*/

const IS_WINDOWS = navigator.userAgent.includes('Windows');

function _setupTests(testType) {
const IS_WINDOWS = navigator.userAgent.includes('Windows');
let testPath;

function consoleLogToShell(message) {
Expand Down

0 comments on commit 7e2e25d

Please sign in to comment.