@@ -275,8 +275,16 @@ test("getCredentials returns all goproxy_servers for a language when specified",
275275
276276test ( "getCredentials returns all maven_repositories for a language when specified" , async ( t ) => {
277277 const multipleMavenRepositories = [
278- { type : "maven_repository" , host : "maven1.pkg.github.com" , token : "token1" } ,
279- { type : "maven_repository" , host : "maven2.pkg.github.com" , token : "token2" } ,
278+ {
279+ type : "maven_repository" ,
280+ host : "maven1.pkg.github.com" ,
281+ token : "token1" ,
282+ } ,
283+ {
284+ type : "maven_repository" ,
285+ host : "maven2.pkg.github.com" ,
286+ token : "token2" ,
287+ } ,
280288 { type : "git_source" , host : "github.com/github" , token : "mno" } ,
281289 ] ;
282290
@@ -288,7 +296,9 @@ test("getCredentials returns all maven_repositories for a language when specifie
288296 ) ;
289297 t . is ( credentials . length , 2 ) ;
290298
291- const mavenRepositories = credentials . filter ( ( c ) => c . type === "maven_repository" ) ;
299+ const mavenRepositories = credentials . filter (
300+ ( c ) => c . type === "maven_repository" ,
301+ ) ;
292302 t . assert ( mavenRepositories . some ( ( c ) => c . host === "maven1.pkg.github.com" ) ) ;
293303 t . assert ( mavenRepositories . some ( ( c ) => c . host === "maven2.pkg.github.com" ) ) ;
294304} ) ;
0 commit comments