12 lines
358 B
TypeScript
12 lines
358 B
TypeScript
import { describe, it, expect } from "vitest";
|
|
import { NoopNotificationService } from "./noop";
|
|
|
|
describe("NoopNotificationService", () => {
|
|
it("should not throw on notify", async () => {
|
|
const service = new NoopNotificationService();
|
|
await expect(
|
|
service.notify({ title: "test", message: "test" }),
|
|
).resolves.not.toThrow();
|
|
});
|
|
});
|