aboutsummaryrefslogtreecommitdiff
path: root/test/database.test.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/database.test.js')
-rw-r--r--test/database.test.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/database.test.js b/test/database.test.js
index 7c3d5606..f5d2c307 100644
--- a/test/database.test.js
+++ b/test/database.test.js
@@ -164,8 +164,8 @@ async function testDatabase1() {
kanjiMeta: {total: 6, freq: 6},
media: {total: 6},
tagMeta: {total: 15},
- termMeta: {total: 38, freq: 31, pitch: 7},
- terms: {total: 22}
+ termMeta: {total: 39, freq: 31, pitch: 7, ipa: 1},
+ terms: {total: 23}
}
};
@@ -192,8 +192,8 @@ async function testDatabase1() {
true
);
expect(counts).toStrictEqual({
- counts: [{kanji: 2, kanjiMeta: 6, terms: 22, termMeta: 38, tagMeta: 15, media: 6}],
- total: {kanji: 2, kanjiMeta: 6, terms: 22, termMeta: 38, tagMeta: 15, media: 6}
+ counts: [{kanji: 2, kanjiMeta: 6, terms: 23, termMeta: 39, tagMeta: 15, media: 6}],
+ total: {kanji: 2, kanjiMeta: 6, terms: 23, termMeta: 39, tagMeta: 15, media: 6}
});
// Test find* functions