first commit
This commit is contained in:
11
ui/lib/constants/logs.test.ts
Normal file
11
ui/lib/constants/logs.test.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import { describe, expect, it } from "vitest";
|
||||
|
||||
import { RequestTypeColors, RequestTypeLabels, RequestTypes } from "./logs";
|
||||
|
||||
describe("logs constants", () => {
|
||||
it("registers realtime turn as a known request type", () => {
|
||||
expect(RequestTypes).toContain("realtime.turn");
|
||||
expect(RequestTypeLabels["realtime.turn"]).toBe("Realtime Turn");
|
||||
expect(RequestTypeColors["realtime.turn"]).toBeTruthy();
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user