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 09:35:26 +00:00
describe("common/alert", () => {
2021-01-09 03:41:33 +00: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();
});
});