File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ describe('epochClock', () => {
99 it ( 'should create epoch clock with defaults' , ( ) => {
1010 const c = epochClock ( ) ;
1111 expect ( c . timeOriginMs ) . toBe ( 500_000 ) ;
12- expect ( c . tid ) . toBe ( 1 ) ;
12+ expect ( c . tid ) . toBeGreaterThan ( 0 ) ;
1313 expect ( c . pid ) . toBe ( 10_001 ) ;
1414 expect ( typeof c . fromEpochMs ) . toBe ( 'function' ) ;
1515 expect ( typeof c . fromEpochUs ) . toBe ( 'function' ) ;
@@ -22,15 +22,13 @@ describe('epochClock', () => {
2222 expect ( epochClock ( { pid : 999 } ) ) . toStrictEqual (
2323 expect . objectContaining ( {
2424 pid : 999 ,
25- tid : 1 ,
2625 } ) ,
2726 ) ;
2827 } ) ;
2928
3029 it ( 'should use tid options' , ( ) => {
3130 expect ( epochClock ( { tid : 888 } ) ) . toStrictEqual (
3231 expect . objectContaining ( {
33- pid : 10_001 ,
3432 tid : 888 ,
3533 } ) ,
3634 ) ;
You can’t perform that action at this time.
0 commit comments