diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2021-02-13 21:28:47 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-13 21:28:47 -0500 |
commit | deed5027cd18bcdb9cb9d13cb7831be0ec5384e8 (patch) | |
tree | c4df1967a117bf05398b694290e2960b8ff4e970 /test | |
parent | e9358997c03ee6ca2b5e9f26e8e416c8508c88e6 (diff) |
Move mixed/lib/ to lib/ (#1382)
Diffstat (limited to 'test')
-rw-r--r-- | test/test-japanese.js | 2 | ||||
-rw-r--r-- | test/test-sw.js | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test/test-japanese.js b/test/test-japanese.js index e784c142..e83b0c1b 100644 --- a/test/test-japanese.js +++ b/test/test-japanese.js @@ -21,7 +21,7 @@ const {VM} = require('../dev/vm'); const vm = new VM(); vm.execute([ - 'mixed/lib/wanakana.min.js', + 'lib/wanakana.min.js', 'mixed/js/japanese.js', 'bg/js/text-source-map.js' ]); diff --git a/test/test-sw.js b/test/test-sw.js index 5da80dd2..803bb0c2 100644 --- a/test/test-sw.js +++ b/test/test-sw.js @@ -37,7 +37,7 @@ function getAllHtmlScriptPaths(fileName) { function convertBackgroundScriptsToServiceWorkerScripts(scripts) { // Use parse5-based SimpleDOMParser - scripts.splice(0, 0, '/mixed/lib/parse5.js'); + scripts.splice(0, 0, '/lib/parse5.js'); const index = scripts.indexOf('/bg/js/native-simple-dom-parser.js'); assert.ok(index >= 0); scripts[index] = '/bg/js/simple-dom-parser.js'; @@ -65,7 +65,7 @@ function main() { vm.assert.deepStrictEqual(scripts, importedScripts); // Verify that eslint config lists files correctly - const expectedSwRulesFiles = scripts.filter((src) => !src.startsWith('/mixed/lib/')).map((src) => `${extDirName}${src}`); + const expectedSwRulesFiles = scripts.filter((src) => !src.startsWith('/lib/')).map((src) => `${extDirName}${src}`); const eslintConfig = JSON.parse(fs.readFileSync(path.join(rootDir, '.eslintrc.json'), {encoding: 'utf8'})); const swRules = eslintConfig.overrides.find((item) => ( typeof item.env === 'object' && |