feat(core): Implement Protocol V2 with enhanced settings and lifecycle hooks

This commit is contained in:
2025-05-26 04:02:32 +00:00
parent 91880f8d42
commit 33d2ff1d4f
24 changed files with 2356 additions and 441 deletions

View File

@@ -0,0 +1,23 @@
import { tap, expect } from '../../ts_tapbundle/index.js';
tap.test('should show string diff', async () => {
const expected = `line 1
line 2
line 3`;
const actual = `line 1
line changed
line 3`;
try {
expect(actual).toEqual(expected);
} catch (e) {
// Expected to fail
}
});
tap.test('should pass', async () => {
expect('hello').toEqual('hello');
});
tap.start({ throwOnError: false });