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

18 lines
441 B
JavaScript

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