Run npm run lint-fix to format the code

This commit is contained in:
Mario Campos
2026-04-02 11:38:03 -05:00
parent f8aff3ad8b
commit 43d8864b35
+13 -3
View File
@@ -275,8 +275,16 @@ test("getCredentials returns all goproxy_servers for a language when specified",
test("getCredentials returns all maven_repositories for a language when specified", async (t) => {
const multipleMavenRepositories = [
{ type: "maven_repository", host: "maven1.pkg.github.com", token: "token1" },
{ type: "maven_repository", host: "maven2.pkg.github.com", token: "token2" },
{
type: "maven_repository",
host: "maven1.pkg.github.com",
token: "token1",
},
{
type: "maven_repository",
host: "maven2.pkg.github.com",
token: "token2",
},
{ type: "git_source", host: "github.com/github", token: "mno" },
];
@@ -288,7 +296,9 @@ test("getCredentials returns all maven_repositories for a language when specifie
);
t.is(credentials.length, 2);
const mavenRepositories = credentials.filter((c) => c.type === "maven_repository");
const mavenRepositories = credentials.filter(
(c) => c.type === "maven_repository",
);
t.assert(mavenRepositories.some((c) => c.host === "maven1.pkg.github.com"));
t.assert(mavenRepositories.some((c) => c.host === "maven2.pkg.github.com"));
});