summaryrefslogtreecommitdiff
path: root/test/test-dictionary.js
blob: 84014540a869b6d0a866a6162eb88aeb073bef90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
const yomichanTest = require('./yomichan-test');
const dictionaryValidate = require('./dictionary-validate');


async function main() {
    const archive = yomichanTest.createTestDictionaryArchive();
    const schemas = dictionaryValidate.getSchemas();
    await dictionaryValidate.validateDictionary(archive, schemas);
}


if (require.main === module) { main(); }