mirror of
https://github.com/Infisical/infisical.git
synced 2026-01-09 15:38:03 -05:00
14 lines
306 B
TypeScript
14 lines
306 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);
|
|
},
|
|
verify: async () => {
|
|
return true;
|
|
}
|
|
};
|
|
};
|