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

18 lines
489 B
JavaScript

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