Reorganize repo structure and standards references
This commit is contained in:
1 parent
3cb93a81be
commit
be2054274d
5885 files changed
+2588
-195
No files matched your search
@@ -0,0 +1,12 @@
|
||||
import { describe, expect, it } from "vitest";
|
||||
|
||||
describe("@toolctrl/realtime public entrypoint", () => {
|
||||
it("exports realtime event contract bindings", async () => {
|
||||
const entrypoint = await import("./index.js");
|
||||
|
||||
expect(entrypoint.REALTIME_EVENT_NAMES.notificationSnapshot).toBe("notification.snapshot");
|
||||
expect(entrypoint.validateRealtimeEvent).toBeTypeOf("function");
|
||||
expect(entrypoint.isRealtimeEvent).toBeTypeOf("function");
|
||||
expect(entrypoint.subscribeToRealtime).toBeTypeOf("function");
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user