From 4649e158bca7adb7764d3d3722b3d368437b8eb4 Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Tue, 10 Mar 2026 01:47:09 +0000 Subject: [PATCH] Fix old test --- src/start-proxy.test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/start-proxy.test.ts b/src/start-proxy.test.ts index 2a8e80510..5bcec2388 100644 --- a/src/start-proxy.test.ts +++ b/src/start-proxy.test.ts @@ -265,7 +265,7 @@ test("getCredentials returns all credentials when no language specified", async }); test("getCredentials throws an error when non-printable characters are used", async (t) => { - const invalidCredentials = [ + const invalidCredentials: startProxyExports.RawCredential[] = [ { type: "nuget_feed", host: "1nuget.pkg.github.com", token: "abc\u0000" }, // Non-printable character in token { type: "nuget_feed", host: "2nuget.pkg.github.com\u0001" }, // Non-printable character in host { @@ -276,8 +276,8 @@ test("getCredentials throws an error when non-printable characters are used", as { type: "nuget_feed", host: "4nuget.pkg.github.com", - password: "ghi\x00", - }, // Non-printable character in password + token: "ghi\x00", + }, // Non-printable character in token ]; for (const invalidCredential of invalidCredentials) {