diff --git a/test/test-dir.browser.js b/test/test-dir.browser.js index b54f310..8650690 100644 --- a/test/test-dir.browser.js +++ b/test/test-dir.browser.js @@ -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) { diff --git a/test/test-file.browser.js b/test/test-file.browser.js index 97182cc..51b828b 100644 --- a/test/test-file.browser.js +++ b/test/test-file.browser.js @@ -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) {