test: expect omit_messages in the tile-delegate resume call shape

Two more call-shape-pinning tests (cold tile resume, default-profile
resume) assert session.resume's exact params; the delegate passes
omit_messages: true like every other Desktop resume call site.
Swept all 5 desktop test files that reference session.resume/activate:
380 of 381 files green (the one failure is a pre-existing locale-
dependent number-grouping test that fails identically on clean main).
This commit is contained in:
kshitijk4poor 2026-08-03 13:36:56 +05:30 committed by kshitij
parent 67fb0d7c2e
commit dd08277104
1 changed files with 4 additions and 2 deletions

View File

@ -77,7 +77,8 @@ describe('useSessionTileDelegate resumeTile', () => {
expect(requestGateway).toHaveBeenCalledWith('session.resume', {
session_id: 'stored-x',
cols: 96,
profile: 'ai-engineer'
profile: 'ai-engineer',
omit_messages: true
})
})
@ -94,7 +95,8 @@ describe('useSessionTileDelegate resumeTile', () => {
expect(requestGateway).toHaveBeenCalledWith('session.resume', {
session_id: 'stored-y',
cols: 96,
profile: 'default'
profile: 'default',
omit_messages: true
})
})
})