diff --git a/scripts/defines/tools-defines.sh b/scripts/defines/tools-defines.sh index 8e401af..344d9a3 100755 --- a/scripts/defines/tools-defines.sh +++ b/scripts/defines/tools-defines.sh @@ -1,3 +1,3 @@ #!/bin/sh export CLOSURE_LATEST="https://repo1.maven.org/maven2/com/google/javascript/closure-compiler/v20231112/closure-compiler-v20231112.jar" #"http://dl.google.com/closure-compiler/compiler-latest.tar.gz" -export NPM_PACKAGES="source-map@latest prettier@latest pretty-quick@latest eslint@latest eslint-config-prettier@latest lint-staged@latest jest@latest jsdom@latest jest-environment-jsdom@latest jsdoc-to-markdown@latest http-server@latest codepage@latest" +export NPM_PACKAGES="source-map@latest prettier@latest pretty-quick@latest eslint@latest eslint-config-prettier@latest lint-staged@latest jest@latest jsdom@latest jest-environment-jsdom@latest jsdoc-to-markdown@latest http-server@latest" diff --git a/src/__tests__/parser.test.js b/src/__tests__/parser.test.js index ec57e35..0d11753 100644 --- a/src/__tests__/parser.test.js +++ b/src/__tests__/parser.test.js @@ -1,9 +1,9 @@ global = globalThis; -global.cptable = require('codepage'); require('../util.js') require('../global-constants.js') require('../color.js'); require('../style.js'); +require('../lib/codepage.js'); require('../text-server.js'); require('../style-override.js'); require('../subtitle-event.js'); diff --git a/test/index.html b/test/index.html index 4faa9e5..ed6abf5 100644 --- a/test/index.html +++ b/test/index.html @@ -5,8 +5,6 @@