aboutsummaryrefslogtreecommitdiff
path: root/test/reading
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2023-07-06 18:23:02 +0200
committerlonkaars <loek@pipeframe.xyz>2023-07-06 18:23:02 +0200
commitcd01df3747ff361fab819fd1d30fac1dba6240e1 (patch)
tree2333eee43667c5cae6d8cebf6cc67bb5fb5a718e /test/reading
parentcb78013884e3aa3b1e1a91722f5eeb78c62f6796 (diff)
update tests and examples
Diffstat (limited to 'test/reading')
-rw-r--r--test/reading/test.ts9
1 files changed, 1 insertions, 8 deletions
diff --git a/test/reading/test.ts b/test/reading/test.ts
index 6a82b3f..a2524de 100644
--- a/test/reading/test.ts
+++ b/test/reading/test.ts
@@ -1,13 +1,6 @@
-import { assertEquals } from "../base.ts";
+import { api, assertEquals } from "../base.ts";
import cases from "./cases.ts";
-import Yomikun from "../../api/yomikun.ts";
-import DirectCoreClient from '../../core/direct/client.ts';
-
-var core = new DirectCoreClient();
-await core.ready;
-var api = new Yomikun(core);
-
cases.forEach(({input, output}) => {
Deno.test(`Sentence reading - ${input}`, async () => {
// TODO: use sentence reading and tags