Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
brainbicycle committed Apr 26, 2024
1 parent 8ac5e2d commit f03b8e5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/app/store/__tests__/AuthModel.tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,10 @@ describe("AuthModel", () => {
.authFacebook({ signInOrUp: "signUp", agreedToReceiveEmails: true })
.catch((e) => e)

expect(LoginManager.logInWithPermissions).toHaveBeenCalledWith(["public_profile", "email"])
expect(LoginManager.logInWithPermissions).toHaveBeenCalledWith(
["public_profile", "email"],
"limited"
)
const expectedError = new AuthError(
"Please allow the use of email to continue.",
"Email Permission Declined"
Expand Down

0 comments on commit f03b8e5

Please sign in to comment.