test alerts
This commit is contained in:
1 parent
1d36f40caf
commit
7c9410f9d7
12 files changed
+258
-107
No files matched your search
@@ -190,3 +190,13 @@ export const buildDiscordBody = (monitor: Monitor, monitorStatusResponse: Monito
|
||||
};
|
||||
return body;
|
||||
};
|
||||
|
||||
export const buildTestEmail = async (emailService: any) => {
|
||||
const context = { testName: "Monitoring System" };
|
||||
const html = await emailService.buildEmail("testEmailTemplate", context);
|
||||
return html;
|
||||
};
|
||||
|
||||
export const getTestMessage = () => {
|
||||
return "This is a test notification from Checkmate";
|
||||
};
|
||||
Reference in new issue
Block a user