Kuma/server/notification-providers/promosms.spec.js
2021-10-21 02:56:52 -05:00

18 lines
453 B
JavaScript

// jest.mock("nodemailer", () => ({
// createTransport: jest.fn(),
// }));
// const mockNodeMailer = require("nodemailer");
const PromoSMS = require("./promosms");
beforeEach(() => {
// mockNodeMailer.createTransport.mockReset();
});
describe("notification default information", () => {
it("should have the correct name", () => {
let notification = new PromoSMS();
expect(notification.name).toBe("promosms");
});
});