photoprism/frontend/tests/unit/common/notify_test.js

25 lines
461 B
JavaScript
Raw Normal View History

import "../fixtures";
import Notify from "common/notify";
2019-08-13 11:35:26 +02:00
describe("common/alert", () => {
2021-01-09 04:41:33 +01:00
it("should call alert.info", () => {
Notify.info("message");
});
it("should call alert.warning", () => {
Notify.warn("message");
});
it("should call alert.error", () => {
Notify.error("message");
});
it("should call alert.success", () => {
Notify.success("message");
});
it("should call wait", () => {
Notify.wait();
});
});