mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-06-15 17:06:48 +02:00
18 lines
449 B
JavaScript
18 lines
449 B
JavaScript
// jest.mock("nodemailer", () => ({
|
|
// createTransport: jest.fn(),
|
|
// }));
|
|
|
|
// const mockNodeMailer = require("nodemailer");
|
|
|
|
const LunaSea = require("./lunasea");
|
|
|
|
beforeEach(() => {
|
|
// mockNodeMailer.createTransport.mockReset();
|
|
});
|
|
|
|
describe("notification default information", () => {
|
|
it("should have the correct name", () => {
|
|
let notification = new LunaSea();
|
|
expect(notification.name).toBe("lunasea");
|
|
});
|
|
});
|