From 4641f434f3bb3dab1bb8cb07f44dd2693c72e35e Mon Sep 17 00:00:00 2001 From: Colin McDonnell Date: Mon, 1 Jul 2024 13:04:24 -0700 Subject: [PATCH] Fix lint --- deno/lib/README.md | 1 + deno/lib/__tests__/string.test.ts | 4 ++-- src/__tests__/string.test.ts | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/deno/lib/README.md b/deno/lib/README.md index 5a73fa725..22fde6363 100644 --- a/deno/lib/README.md +++ b/deno/lib/README.md @@ -486,6 +486,7 @@ There are a growing number of tools that are built atop or support Zod natively! - [`zod-fixture`](https://github.com/timdeschryver/zod-fixture): Use your zod schemas to automate the generation of non-relevant test fixtures in a deterministic way. - [`zocker`](https://zocker.sigrist.dev): Generate plausible mock-data from your schemas. - [`zodock`](https://github.com/ItMaga/zodock) Generate mock data based on Zod schemas. +- [`zod-schema-faker`](https://github.com/soc221b/zod-schema-faker) Generates mock data from Zod schemas. Powered by [@faker-js/faker](https://github.com/faker-js/faker) and [randexp.js](https://github.com/fent/randexp.js) #### Powered by Zod diff --git a/deno/lib/__tests__/string.test.ts b/deno/lib/__tests__/string.test.ts index 3fc6ec0f4..b70152750 100644 --- a/deno/lib/__tests__/string.test.ts +++ b/deno/lib/__tests__/string.test.ts @@ -331,8 +331,8 @@ test("ulid", () => { if (!result.success) { expect(result.error.issues[0].message).toEqual("Invalid ulid"); } - const caseInsensitive = ulid.safeParse("01arZ3nDeKTsV4RRffQ69G5FAV") - expect(caseInsensitive.success).toEqual(true) + const caseInsensitive = ulid.safeParse("01arZ3nDeKTsV4RRffQ69G5FAV"); + expect(caseInsensitive.success).toEqual(true); }); test("regex", () => { diff --git a/src/__tests__/string.test.ts b/src/__tests__/string.test.ts index b79664fff..24f10ee45 100644 --- a/src/__tests__/string.test.ts +++ b/src/__tests__/string.test.ts @@ -330,8 +330,8 @@ test("ulid", () => { if (!result.success) { expect(result.error.issues[0].message).toEqual("Invalid ulid"); } - const caseInsensitive = ulid.safeParse("01arZ3nDeKTsV4RRffQ69G5FAV") - expect(caseInsensitive.success).toEqual(true) + const caseInsensitive = ulid.safeParse("01arZ3nDeKTsV4RRffQ69G5FAV"); + expect(caseInsensitive.success).toEqual(true); }); test("regex", () => {