hacktoberfestdockerresponsivemonitoringwebsocketwebappuptime-monitoringuptimesocket-iosingle-page-appselfhostedself-hosted
18 lines
445 B
18 lines
445 B
// 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");
|
|
});
|
|
});
|
|
|