File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/analytics-browser/test Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -553,7 +553,7 @@ describe('browser-client', () => {
553553 describe ( 'setSessionId' , ( ) => {
554554 test ( 'should set session id' , async ( ) => {
555555 await client . init ( apiKey , { defaultTracking } ) . promise ;
556- void client . setSessionId ( 1 ) ;
556+ client . setSessionId ( 1 ) ;
557557 expect ( client . getSessionId ( ) ) . toBe ( 1 ) ;
558558 } ) ;
559559
@@ -657,7 +657,7 @@ describe('browser-client', () => {
657657 expect ( client . getSessionId ( ) ) . toBe ( 1 ) ;
658658 resolve ( ) ;
659659 } ) ;
660- void client . setSessionId ( 1 ) ;
660+ client . setSessionId ( 1 ) ;
661661 } ) ;
662662 } ) ;
663663 } ) ;
@@ -789,7 +789,7 @@ describe('browser-client', () => {
789789 await client . init ( apiKey , { defaultTracking } ) . promise ;
790790 client . config . pageCounter = 2 ;
791791 expect ( client . config . pageCounter ) . toBe ( 2 ) ;
792- void client . setSessionId ( Date . now ( ) + 5 * 60 * 60 ) ;
792+ client . setSessionId ( Date . now ( ) + 5 * 60 * 60 ) ;
793793 expect ( client . config . pageCounter ) . toBe ( 0 ) ;
794794 } ) ;
795795 } ) ;
You can’t perform that action at this time.
0 commit comments