From d931ea3f0f15a6ae64f5f68e3c03912dffb2269d Mon Sep 17 00:00:00 2001 From: Colin McDonnell Date: Tue, 3 Oct 2023 11:35:34 -0700 Subject: [PATCH] Lint --- playground.ts | 9 --------- src/__tests__/readonly.test.ts | 2 +- 2 files changed, 1 insertion(+), 10 deletions(-) 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";