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.
12 lines
332 B
12 lines
332 B
5 months ago
|
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);
|
||
|
});
|