From bf16c517f8f4ac79e94e53e2c83a3f846c8778a9 Mon Sep 17 00:00:00 2001 From: Zwifi Date: Wed, 8 Jan 2025 15:42:14 +0100 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Pete Edwards --- packages/node/src/login/oidc/ClientRegistrar.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/node/src/login/oidc/ClientRegistrar.spec.ts b/packages/node/src/login/oidc/ClientRegistrar.spec.ts index e02a5ed85..e5199e43e 100644 --- a/packages/node/src/login/oidc/ClientRegistrar.spec.ts +++ b/packages/node/src/login/oidc/ClientRegistrar.spec.ts @@ -48,7 +48,7 @@ const mockClientRegistration = ( register: (jest.fn() as any).mockResolvedValueOnce({ metadata: clientMetadata, }), - // The assertions are required because we only mock we is strictly necessary for our tests. + // The assertions are required because we only mock what is strictly necessary for our tests. } as any, } as any; @@ -73,7 +73,7 @@ describe("ClientRegistrar", () => { } describe("getClient", () => { - it("fails if there is not registration endpoint", async () => { + it("fails if there is no registration endpoint", async () => { mockClientRegistration( { registration_endpoint: undefined,