mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-14 10:29:52 +00:00
11 lines
254 B
TypeScript
11 lines
254 B
TypeScript
import { TSmtpSendMail, TSmtpService } from "@app/services/smtp/smtp-service";
|
|
|
|
export const mockSmtpServer = (): TSmtpService => {
|
|
const storage: TSmtpSendMail[] = [];
|
|
return {
|
|
sendMail: async (data) => {
|
|
storage.push(data);
|
|
}
|
|
};
|
|
};
|