fix: eslint and tests
This commit is contained in:
@@ -47,7 +47,7 @@ describe('mailer', () => {
|
||||
});
|
||||
|
||||
expect(result.success).toBe(false);
|
||||
expect((result.error as Error).message).toContain('MAIL_HOST is not configured');
|
||||
expect(result.error).toContain('MAIL_HOST is not configured');
|
||||
|
||||
// Restore host
|
||||
(config.mail as any).host = originalHost;
|
||||
|
||||
Reference in New Issue
Block a user