Skip to content

Commit

Permalink
chore: linting
Browse files Browse the repository at this point in the history
  • Loading branch information
peterphanouvong committed Aug 13, 2024
1 parent 2456623 commit 0fa5bde
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions tests/get-kinde-session.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ describe("getKindeSession", () => {
expect(kindeClient.getClaim).toHaveBeenCalledWith(
expect.anything(),
"test",
"access_token"
"access_token",
);
expect(claim).toBe("test-claim");
});
Expand All @@ -75,7 +75,7 @@ describe("getKindeSession", () => {
expect(kindeClient.getClaim).toHaveBeenCalledWith(
expect.anything(),
"test",
"access_token"
"access_token",
);
expect(claim).toBe(null);
});
Expand All @@ -88,7 +88,7 @@ describe("getKindeSession", () => {
expect(kindeClient.getClaimValue).toHaveBeenCalledWith(
expect.anything(),
"test",
"access_token"
"access_token",
);
expect(claim).toBe("test-claim");
});
Expand All @@ -103,7 +103,7 @@ describe("getKindeSession", () => {
expect(kindeClient.getClaimValue).toHaveBeenCalledWith(
expect.anything(),
"test",
"access_token"
"access_token",
);
expect(claim).toBe(null);
});
Expand Down Expand Up @@ -217,7 +217,7 @@ describe("getKindeSession", () => {
expect.anything(),
"test-flag",
"default",
"s"
"s",
);
expect(claim).toStrictEqual("flag");
});
Expand All @@ -240,7 +240,7 @@ describe("getKindeSession", () => {
expect(kindeClient.getBooleanFlag).toHaveBeenCalledWith(
expect.anything(),
"test-flag",
false
false,
);
expect(claim).toStrictEqual(true);
});
Expand All @@ -263,7 +263,7 @@ describe("getKindeSession", () => {
expect(kindeClient.getStringFlag).toHaveBeenCalledWith(
expect.anything(),
"test-flag",
"false"
"false",
);
expect(claim).toStrictEqual(true);
});
Expand All @@ -286,7 +286,7 @@ describe("getKindeSession", () => {
expect(kindeClient.getIntegerFlag).toHaveBeenCalledWith(
expect.anything(),
"test-flag",
1
1,
);
expect(claim).toStrictEqual(true);
});
Expand All @@ -308,7 +308,7 @@ describe("getKindeSession", () => {
const claim = await session.getPermission("test-permission");
expect(kindeClient.getPermission).toHaveBeenCalledWith(
expect.anything(),
"test-permission"
"test-permission",
);
expect(claim).toStrictEqual("permission");
});
Expand Down Expand Up @@ -369,7 +369,7 @@ describe("getKindeSession", () => {
.mockResolvedValueOnce("org_code");
const claim = await session.getUserOrganizations();
expect(kindeClient.getUserOrganizations).toHaveBeenCalledWith(
expect.anything()
expect.anything(),
);
expect(claim).toStrictEqual("org_code");
});
Expand Down

0 comments on commit 0fa5bde

Please sign in to comment.