hacktoberfestdockeruptime-monitoringuptimesocket-iosingle-page-appselfhostedself-hostedresponsivemonitoringwebsocketwebapp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
463 B
19 lines
463 B
3 years ago
|
// jest.mock("nodemailer", () => ({
|
||
|
// createTransport: jest.fn(),
|
||
|
// }));
|
||
|
|
||
|
// const mockNodeMailer = require("nodemailer");
|
||
|
|
||
|
const RocketChat = require("./rocket-chat");
|
||
|
|
||
|
beforeEach(() => {
|
||
|
// mockNodeMailer.createTransport.mockReset();
|
||
|
});
|
||
|
|
||
|
describe("notification default information", () => {
|
||
|
it("should have the correct name", () => {
|
||
|
let notification = new RocketChat();
|
||
|
expect(notification.name).toBe("rocket.chat");
|
||
|
});
|
||
|
});
|