Skip to content

Commit

Permalink
fix: Incorrectly named test file
Browse files Browse the repository at this point in the history
Fix incorrect test result within.
  • Loading branch information
vbudovski committed Dec 24, 2024
1 parent f86a7d1 commit 2296f2f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ test('Failure', () => {
const schema = p.string();
const result = schema.safeParse(123);
if (!result.ok) {
expect(result.issue).toEqual({ type: 'leaf', code: 'invalid_type' });
expect(result.issue).toEqual({ type: 'leaf', code: 'invalid_type', expected: 'string' });
} else {
expect(result.ok).toBeFalsy();
}
Expand Down

0 comments on commit 2296f2f

Please sign in to comment.