diff --git a/playground.ts b/playground.ts index 2a67b4e95..4e01473b6 100644 --- a/playground.ts +++ b/playground.ts @@ -1,12 +1,3 @@ import { z } from "./src"; z; - -const schema = z.object({ - name: z.string(), - value: z.string(), -}); - -const schemaRefine = schema.superRefine(async (val, _ctx) => { - return val.value !== "INVALID"; -}); diff --git a/src/__tests__/readonly.test.ts b/src/__tests__/readonly.test.ts index 3007a6fac..9d775c991 100644 --- a/src/__tests__/readonly.test.ts +++ b/src/__tests__/readonly.test.ts @@ -1,5 +1,5 @@ // @ts-ignore TS6133 -import { test, expect } from "@jest/globals"; +import { expect,test } from "@jest/globals"; import { util } from "../helpers/util"; import * as z from "../index";