test("arktype config", () => {
const t = type("string")
.configure({ description: "a test" })
.configure({ alias: "cool" });
expect(t.toJSON()).toMatchInlineSnapshot(`
{
"domain": "string",
"meta": {
"alias": "cool",
},
}
`);
});
test("arktype config", () => {
const t = type("string")
.configure({ description: "a test" })
.configure({ alias: "cool" });
expect(t.toJSON()).toMatchInlineSnapshot(`
{
"domain": "string",
"meta": {
"alias": "cool",
},
}
`);
});