Chore: repalce expect w/ earl

This commit is contained in:
SukkaW
2026-02-26 01:26:39 +08:00
parent ab421f007c
commit 19713c168b
5 changed files with 112 additions and 372 deletions

View File

@@ -1,7 +1,7 @@
import { describe, it } from 'mocha';
import { processLine } from './process-line';
import { expect } from 'expect';
import { expect } from 'earl';
describe('processLine', () => {
([
@@ -16,7 +16,7 @@ describe('processLine', () => {
['##### EOF', null]
] as const).forEach(([input, expected]) => {
it(input, () => {
expect(processLine(input)).toBe(expected);
expect(processLine(input)).toEqual(expected);
});
});
});