(result: Result.Result<A, SchemaIssue.Issue>, key: PropertyKey)
| 28 | } |
| 29 | |
| 30 | function assertMissingKeyFailure<A>(result: Result.Result<A, SchemaIssue.Issue>, key: PropertyKey) { |
| 31 | assertTrue(assertPointerFailure(result, [key])._tag === "MissingKey") |
| 32 | } |
| 33 | |
| 34 | describe("Optic", () => { |
| 35 | it("replace should throw an error if the object has a non-Object constructor or null prototype", () => { |
no test coverage detected