2026-03-03 23:27:48 +00:00
|
|
|
import EmailService from "@/service/infrastructure/emailService.js";
|
2026-02-17 17:28:43 +00:00
|
|
|
// Test notification helpers - used by all providers for test alerts
|
2026-03-03 23:27:48 +00:00
|
|
|
export const buildTestEmail = async (emailService: EmailService) => {
|
2026-01-19 21:39:02 +00:00
|
|
|
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";
|
|
|
|
|
};
|