Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Pete Edwards <[email protected]>
  • Loading branch information
NSeydoux and edwardsph authored Jan 8, 2025
1 parent 041fdd3 commit bf16c51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/node/src/login/oidc/ClientRegistrar.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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,
Expand Down

0 comments on commit bf16c51

Please sign in to comment.