atlas-app-services-examples
atlas-app-services-examples copied to clipboard
Integration Testing Email/Password Registration with Confirmation Email
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.