Skip to content

Commit

Permalink
Format fixes following review of stefanprokopdev#172
Browse files Browse the repository at this point in the history
  • Loading branch information
kaaloo committed Jun 19, 2023
1 parent 6601b13 commit ccf6150
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@
"ts-jest": "26.5.6",
"typescript": "4.9.5"
}
}
}
8 changes: 2 additions & 6 deletions src/test/verifyAppleIdToken.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,7 @@ describe("Verify Apple idToken", () => {
);
await verifyAppleIdToken({ clientId, idToken });
} catch (error) {
return expect(error.message).toMatch(
/The iss does not match the Apple URL/
);
return expect(error.message).toMatch(/The iss does not match the Apple URL/);
}
throw new Error("Expected to throw");
});
Expand All @@ -78,9 +76,7 @@ describe("Verify Apple idToken", () => {
);
await verifyAppleIdToken({ idToken, clientId: "test" });
} catch (error) {
return expect(error.message).toMatch(
/The aud parameter does not include this client/
);
return expect(error.message).toMatch(/The aud parameter does not include this client/);
}
throw new Error("Expected to throw");
});
Expand Down

0 comments on commit ccf6150

Please sign in to comment.