From 44d0d2e9c53fb219b802bc756bc62a95f9df5496 Mon Sep 17 00:00:00 2001 From: sudacode Date: Mon, 19 Oct 2026 08:40:56 -0700 Subject: [PATCH] test(hachidori): expect the hachidori tag in the parser Anki check --- scripts/check-hachidori-parser.cjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/check-hachidori-parser.cjs b/scripts/check-hachidori-parser.cjs index f6047014..50c5ad34 100644 --- a/scripts/check-hachidori-parser.cjs +++ b/scripts/check-hachidori-parser.cjs @@ -141,7 +141,7 @@ app ); assert.equal(anki.model, 'Custom Japanese'); assert.equal(anki.deck, 'Test Mining'); - assert.deepEqual(anki.tags, ankiConfig.tags); + assert.deepEqual(anki.tags, [...ankiConfig.tags, 'hachidori']); assert.equal(anki.fieldTemplates.Term.value, '{expression}'); assert.equal(anki.fieldTemplates.Pronunciation.value, '{audio}'); assert.equal(anki.fieldTemplates.Context.value, '{sentence}');