fix tests: add subject to email-verification assertion, add url + api-key mock to hooks test
This commit is contained in:
@@ -29,6 +29,7 @@ describe('sendVerificationEmail', () => {
|
||||
|
||||
expect(sendMail).toHaveBeenCalledWith({
|
||||
to: 'jane@example.com',
|
||||
subject: 'Verify your email address',
|
||||
templateId: 'email-verification-email',
|
||||
data: {
|
||||
target_email_address: 'jane@example.com',
|
||||
|
||||
Reference in New Issue
Block a user