atlas-app-services-examples icon indicating copy to clipboard operation
atlas-app-services-examples copied to clipboard

Integration Testing Email/Password Registration with Confirmation Email

Open trycatchdonothing opened this issue 1 year ago • 2 comments

Is there a way to use the email confirmation option with e-mail/password registration when writing integration tests?

In your example here, you have the following code:

  await app.emailPasswordAuth.registerUser({ email, password });
  user = await app.logIn(Realm.Credentials.emailPassword(email, password));

I assume registration is set to auto in order to make this work.

trycatchdonothing avatar Feb 11 '23 20:02 trycatchdonothing