Skip to content

Commit f8935b5

Browse files
committed
Run npm run lint-fix to format the code
1 parent a9a28d0 commit f8935b5

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

src/start-proxy.test.ts

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -275,8 +275,16 @@ test("getCredentials returns all goproxy_servers for a language when specified",
275275

276276
test("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

Comments
 (0)