| 1 | import { assert, describe, it } from "@effect/vitest" |
| 2 | import { SchemaRepresentation } from "effect" |
| 3 | |
| 4 | describe("SchemaRepresentation.makeCode", () => { |
| 5 | it("constructs runtime and type source", () => { |
| 6 | assert.deepStrictEqual(SchemaRepresentation.makeCode("Schema.String", "string"), { |
| 7 | runtime: "Schema.String", |
| 8 | Type: "string" |
| 9 | }) |
| 10 | }) |
| 11 | }) |