Skip to content

Commit

Permalink
Fix deno test
Browse files Browse the repository at this point in the history
  • Loading branch information
colinhacks committed Mar 7, 2023
1 parent 6dad907 commit 56ace68
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deno/lib/__tests__/custom.test.ts
Expand Up @@ -15,5 +15,5 @@ test("string params", () => {
const result = example1.safeParse(1234);
expect(result.success).toEqual(false);
// @ts-ignore
expect(JSON.stringify(result.error)).toContain("customerr");
expect(JSON.stringify(result.error).includes("customerr")).toEqual(true);
});
2 changes: 1 addition & 1 deletion src/__tests__/custom.test.ts
Expand Up @@ -14,5 +14,5 @@ test("string params", () => {
const result = example1.safeParse(1234);
expect(result.success).toEqual(false);
// @ts-ignore
expect(JSON.stringify(result.error)).toContain("customerr");
expect(JSON.stringify(result.error).includes("customerr")).toEqual(true);
});

0 comments on commit 56ace68

Please sign in to comment.