blob: b9885edcf31bb5e4d221809d103224992d95d3a5 (
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('valid-dictionary1');
const schemas = dictionaryValidate.getSchemas();
await dictionaryValidate.validateDictionary(archive, schemas);
}
if (require.main === module) { main(); }
|