2021-07-12 19:25:37 +02:00
|
|
|
import "../fixtures";
|
2019-11-16 23:55:56 +01:00
|
|
|
import Notify from "common/notify";
|
2020-06-29 13:00:45 +02:00
|
|
|
|
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();
|
|
|
|
});
|
2019-11-16 23:55:56 +01:00
|
|
|
});
|