Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
colinhacks committed Apr 16, 2024
1 parent dae761d commit 96510ab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions deno/lib/__tests__/record.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,9 +173,9 @@ test("is not vulnerable to prototype pollution", async () => {
});

test("dont parse undefined values", () => {
const result1 = z.record( z.any() ).parse( { foo: undefined } );
const result1 = z.record(z.any()).parse({ foo: undefined });

expect(result1).toEqual({
foo: undefined,
});
})
});
4 changes: 2 additions & 2 deletions src/__tests__/record.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,9 +172,9 @@ test("is not vulnerable to prototype pollution", async () => {
});

test("dont parse undefined values", () => {
const result1 = z.record( z.any() ).parse( { foo: undefined } );
const result1 = z.record(z.any()).parse({ foo: undefined });

expect(result1).toEqual({
foo: undefined,
});
})
});

0 comments on commit 96510ab

Please sign in to comment.