mirror of
https://github.com/photoprism/photoprism.git
synced 2025-10-06 17:27:20 +08:00
25 lines
467 B
JavaScript
25 lines
467 B
JavaScript
import "../fixtures";
|
|
import $notify from "common/notify";
|
|
|
|
describe("common/alert", () => {
|
|
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();
|
|
});
|
|
});
|