@@ -427,6 +427,7 @@ describe('ExtensionState', () => {
427427 const result = extensionState . getGlobalViewState ( ) ;
428428
429429 // Assert
430+ expect ( extensionContext . globalState . get ) . toHaveBeenCalledWith ( 'globalViewState' , expect . anything ( ) ) ;
430431 expect ( result ) . toStrictEqual ( globalViewState ) ;
431432 } ) ;
432433
@@ -440,6 +441,7 @@ describe('ExtensionState', () => {
440441 const result = extensionState . getGlobalViewState ( ) ;
441442
442443 // Assert
444+ expect ( extensionContext . globalState . get ) . toHaveBeenCalledWith ( 'globalViewState' , expect . anything ( ) ) ;
443445 expect ( result ) . toStrictEqual ( {
444446 alwaysAcceptCheckoutCommit : false ,
445447 issueLinkingConfig : null
@@ -454,6 +456,7 @@ describe('ExtensionState', () => {
454456 const result = extensionState . getGlobalViewState ( ) ;
455457
456458 // Assert
459+ expect ( extensionContext . globalState . get ) . toHaveBeenCalledWith ( 'globalViewState' , expect . anything ( ) ) ;
457460 expect ( result ) . toStrictEqual ( {
458461 alwaysAcceptCheckoutCommit : false ,
459462 issueLinkingConfig : null
@@ -509,6 +512,7 @@ describe('ExtensionState', () => {
509512 const result = extensionState . getWorkspaceViewState ( ) ;
510513
511514 // Assert
515+ expect ( extensionContext . workspaceState . get ) . toHaveBeenCalledWith ( 'workspaceViewState' , expect . anything ( ) ) ;
512516 expect ( result ) . toStrictEqual ( workspaceViewState ) ;
513517 } ) ;
514518
@@ -523,6 +527,7 @@ describe('ExtensionState', () => {
523527 const result = extensionState . getWorkspaceViewState ( ) ;
524528
525529 // Assert
530+ expect ( extensionContext . workspaceState . get ) . toHaveBeenCalledWith ( 'workspaceViewState' , expect . anything ( ) ) ;
526531 expect ( result ) . toStrictEqual ( {
527532 findIsCaseSensitive : true ,
528533 findIsRegex : false ,
@@ -538,6 +543,7 @@ describe('ExtensionState', () => {
538543 const result = extensionState . getWorkspaceViewState ( ) ;
539544
540545 // Assert
546+ expect ( extensionContext . workspaceState . get ) . toHaveBeenCalledWith ( 'workspaceViewState' , expect . anything ( ) ) ;
541547 expect ( result ) . toStrictEqual ( {
542548 findIsCaseSensitive : false ,
543549 findIsRegex : false ,
0 commit comments