Skip to content

Commit

Permalink
Merge pull request #379 from supertokens/react-tests-fix
Browse files Browse the repository at this point in the history
chore: Add email delivery config to third party email password config to fix tests
  • Loading branch information
rishabhpoddar authored Oct 5, 2023
2 parents 8745e98 + 08b8585 commit eb6aff9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/auth-react-server/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,11 @@ func callSTInit(passwordlessConfig *plessmodels.TypeInput) {
},
}),
thirdpartyemailpassword.Init(&tpepmodels.TypeInput{
EmailDelivery: &emaildelivery.TypeInput{
Service: &emaildelivery.EmailDeliveryInterface{
SendEmail: &sendPasswordResetEmail,
},
},
Override: &tpepmodels.OverrideStruct{
APIs: func(originalImplementation tpepmodels.APIInterface) tpepmodels.APIInterface {
ogPasswordResetPOST := *originalImplementation.PasswordResetPOST
Expand Down

0 comments on commit eb6aff9

Please sign in to comment.