feat: add core contracts
This commit is contained in:
9
packages/core/src/run-event.test.ts
Normal file
9
packages/core/src/run-event.test.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import { describe, expect, it } from "vitest";
|
||||
|
||||
import { RunEventPayloadSchemas, RunEventTypeValues } from "./run-event.js";
|
||||
|
||||
describe("run events", () => {
|
||||
it("keeps a payload schema for every closed run event type", () => {
|
||||
expect(Object.keys(RunEventPayloadSchemas).sort()).toEqual([...RunEventTypeValues].sort());
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user