mirror of
https://github.com/Kaelio/ktx.git
synced 2026-07-13 11:22:11 +02:00
test(cli): align memory-flow replay expectations with partial ingests
This commit is contained in:
parent
8bdb0e4b40
commit
0bf43780d8
1 changed files with 2 additions and 2 deletions
|
|
@ -166,7 +166,7 @@ describe('memory-flow event mapping', () => {
|
||||||
runId: 'run-1',
|
runId: 'run-1',
|
||||||
connectionId: 'warehouse',
|
connectionId: 'warehouse',
|
||||||
adapter: 'lookml',
|
adapter: 'lookml',
|
||||||
status: 'error',
|
status: 'done',
|
||||||
sourceDir: null,
|
sourceDir: null,
|
||||||
syncId: 'sync-2',
|
syncId: 'sync-2',
|
||||||
reportId: 'report-1',
|
reportId: 'report-1',
|
||||||
|
|
@ -308,7 +308,7 @@ describe('memory-flow event mapping', () => {
|
||||||
sourceReportPath: 'report-1',
|
sourceReportPath: 'report-1',
|
||||||
fallbackReason: null,
|
fallbackReason: null,
|
||||||
});
|
});
|
||||||
expect(replay.status).toBe('error');
|
expect(replay.status).toBe('done');
|
||||||
expect(replay.reportId).toBe('report-1');
|
expect(replay.reportId).toBe('report-1');
|
||||||
expect(replay.reportPath).toBe('report-1');
|
expect(replay.reportPath).toBe('report-1');
|
||||||
expect(replay.events[0]).toMatchObject({ type: 'source_acquired', emittedAt: '2026-05-01T10:00:00.000Z' });
|
expect(replay.events[0]).toMatchObject({ type: 'source_acquired', emittedAt: '2026-05-01T10:00:00.000Z' });
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue