Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions app/watchers/providers/docker/container-processing.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,10 @@ describe('watchContainer error result preservation', () => {
expect(report.container.updateAvailable).toBe(true);
expect(report.container.updateKind).toEqual(originalUpdateKind);
expect(report.container.currentReleaseNotes).toEqual(originalCurrentReleaseNotes);
// The E2E symptom was the report never persisting (the TypeError escaped
// before the emit) — pin that the persistence path actually ran.
expect(eventMocks.emitContainerReport).toHaveBeenCalledTimes(1);
expect(eventMocks.emitContainerReport).toHaveBeenCalledWith(report);
});

test('restores the previous result on a validated container without writing to getter-only properties', async () => {
Expand Down