@@ -52,24 +52,4 @@ describe('GitHubRepository', function () {
5252 // assert(! dotcomRepository.isGitHubDotCom);
5353 } ) ;
5454 } ) ;
55-
56- describe ( 'getCachedBranches' , function ( ) {
57- it ( 'returns undefined when no branches have been cached' , function ( ) {
58- const url = 'https://github.com/owner/repo' ;
59- const remote = new GitHubRemote ( 'origin' , url , new Protocol ( url ) , GitHubServerType . GitHubDotCom ) ;
60- const rootUri = Uri . file ( 'C:\\users\\test\\repo' ) ;
61- const repo = new GitHubRepository ( 1 , remote , rootUri , credentialStore , telemetry ) ;
62-
63- assert . strictEqual ( repo . getCachedBranches ( 'owner' , 'repo' ) , undefined ) ;
64- } ) ;
65-
66- it ( 'returns undefined for an owner/repo with no cache entry' , function ( ) {
67- const url = 'https://github.com/owner/repo' ;
68- const remote = new GitHubRemote ( 'origin' , url , new Protocol ( url ) , GitHubServerType . GitHubDotCom ) ;
69- const rootUri = Uri . file ( 'C:\\users\\test\\repo' ) ;
70- const repo = new GitHubRepository ( 1 , remote , rootUri , credentialStore , telemetry ) ;
71-
72- assert . strictEqual ( repo . getCachedBranches ( 'other-owner' , 'other-repo' ) , undefined ) ;
73- } ) ;
74- } ) ;
7555} ) ;
0 commit comments