summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2023-11-27 19:23:17 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2023-11-27 19:23:17 -0500
commitd5b1217df3fe7480fc5f58fe194f5bbf73281094 (patch)
treedc24325097acb461b24415e87666da96f7912aae /test
parentb9310603865292749d7303f41b7c2d6b6f286078 (diff)
Use import map
Diffstat (limited to 'test')
-rw-r--r--test/japanese-util.test.js2
-rw-r--r--test/jsconfig.json1
2 files changed, 2 insertions, 1 deletions
diff --git a/test/japanese-util.test.js b/test/japanese-util.test.js
index 47da4ccb..ae5b1a16 100644
--- a/test/japanese-util.test.js
+++ b/test/japanese-util.test.js
@@ -16,10 +16,10 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
+import * as wanakana from 'wanakana';
import {expect, test} from 'vitest';
import {TextSourceMap} from '../ext/js/general/text-source-map.js';
import {JapaneseUtil} from '../ext/js/language/sandbox/japanese-util.js';
-import * as wanakana from '../ext/lib/wanakana.js';
const jp = new JapaneseUtil(wanakana);
diff --git a/test/jsconfig.json b/test/jsconfig.json
index b025918c..261ec345 100644
--- a/test/jsconfig.json
+++ b/test/jsconfig.json
@@ -12,6 +12,7 @@
"skipLibCheck": false,
"baseUrl": ".",
"paths": {
+ "zip.js": ["@zip.js/zip.js"],
"*": ["../types/ext/*"],
"dev/*": ["../types/dev/*"],
"test/*": ["../types/test/*"]