MCPcopy Create free account
hub / github.com/Effect-TS/effect / C

Class C

packages/effect/test/schema/SchemaCompilerConstruction.test.ts:10–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8describe("Schema compiler construction", { concurrent: false }, () => {
9 it("uses an installed constructor for Class.make without reinitializing it", () => {
10 class C extends Schema.Class<C>("C")({ value: Schema.String }) {}
11 const instance = new C({ value: "installed" })
12 let reads = 0
13 SchemaCompiler.set(SchemaAST.toType(C.ast), {

Callers 1

Function.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected