File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
packages/core/src/testInteg/codecatalyst Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ describe('InactivityMessage', function () {
6969 ] )
7070 } )
7171
72- it ( 'shows warning 5 minutes before shutdown for 60 minute timeout' , async function ( ) {
72+ it . skip ( 'shows warning 5 minutes before shutdown for 60 minute timeout' , async function ( ) {
7373 setInitialOffset ( 54 )
7474 await inactivityMsg . init ( 60 , devEnvActivity as unknown as DevEnvActivity , relativeMinuteMillis )
7575
@@ -142,10 +142,10 @@ describe('InactivityMessage', function () {
142142 minute : expectedMessages [ i ] [ 1 ] ,
143143 }
144144 assert . deepStrictEqual ( actualMessages [ i ] . message , expected . message )
145- // Avoid flakiness in the timing by looking within a few minutes rather than exact.
145+ // Avoid flakiness in the timing by looking within a minute rather than exact.
146146 assert . ok (
147- Math . abs ( actualMessages [ i ] . minute - expected . minute ) <= 3 ,
148- `Expected to be within 180 seconds of minute ${ expected . minute } , but instead was at minute ${ actualMessages [ i ] . minute } `
147+ Math . abs ( actualMessages [ i ] . minute - expected . minute ) <= 1 ,
148+ `Expected to be within 60 seconds of minute ${ expected . minute } , but instead was at minute ${ actualMessages [ i ] . minute } `
149149 )
150150 }
151151 }
You can’t perform that action at this time.
0 commit comments