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

18 lines
445 B
JavaScript

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