You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
332 B
11 lines
332 B
import t from 'tap';
|
|
|
|
import { extractWordsFromFile } from './oooThesaurusParser.js';
|
|
|
|
void t.test('extractWordsFromFile', async (t) => {
|
|
const words = await extractWordsFromFile(
|
|
new URL('../../build-resources/th-en-x-basic.dat', import.meta.url),
|
|
);
|
|
//console.log(words);
|
|
t.equal(words.length, 12371);
|
|
});
|
|
|