@@ -99,9 +99,10 @@ describe('hello-prompt e2e', { timeout: 30_000 }, () => {
9999 ) ;
100100 expect ( sendKeysEnvelope . ok ) . toBe ( true ) ;
101101 expect ( sendKeysEnvelope . command ) . toBe ( 'send-keys' ) ;
102- expect ( sendKeysEnvelope . result ) . toMatchObject ( {
102+ expect ( sendKeysEnvelope . result ) . toEqual ( {
103103 accepted : [ 'Enter' ] ,
104104 bytesWritten : 1 ,
105+ seq : expect . any ( Number ) as number ,
105106 } ) ;
106107 expect ( sendKeysEnvelope . result . seq ) . toBeGreaterThanOrEqual ( 0 ) ;
107108
@@ -146,9 +147,10 @@ describe('hello-prompt e2e', { timeout: 30_000 }, () => {
146147 ) ;
147148 expect ( sendExitEnterEnvelope . ok ) . toBe ( true ) ;
148149 expect ( sendExitEnterEnvelope . command ) . toBe ( 'send-keys' ) ;
149- expect ( sendExitEnterEnvelope . result ) . toMatchObject ( {
150+ expect ( sendExitEnterEnvelope . result ) . toEqual ( {
150151 accepted : [ 'Enter' ] ,
151152 bytesWritten : 1 ,
153+ seq : expect . any ( Number ) as number ,
152154 } ) ;
153155 expect ( sendExitEnterEnvelope . result . seq ) . toBeGreaterThanOrEqual ( 0 ) ;
154156
@@ -227,9 +229,10 @@ describe('hello-prompt e2e', { timeout: 30_000 }, () => {
227229 ) ;
228230 expect ( sendKeysEnvelope . ok ) . toBe ( true ) ;
229231 expect ( sendKeysEnvelope . command ) . toBe ( 'send-keys' ) ;
230- expect ( sendKeysEnvelope . result ) . toMatchObject ( {
232+ expect ( sendKeysEnvelope . result ) . toEqual ( {
231233 accepted : [ 'Enter' ] ,
232234 bytesWritten : 1 ,
235+ seq : expect . any ( Number ) as number ,
233236 } ) ;
234237 expect ( sendKeysEnvelope . result . seq ) . toBeGreaterThanOrEqual ( 0 ) ;
235238
0 commit comments