Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
ymc9 committed Mar 14, 2024
1 parent e81d8db commit 2e79573
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/integration/tests/regression/issue-886.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ describe('Regression: issue 886', () => {
`
);

const r = zodSchemas.models.ModelSchema.parse({});
const r = zodSchemas.models.ModelSchema.parse({ id: 1 });
expect(r.a).toBe(100);
expect(r.b).toBe('');
expect(r.c).toBeInstanceOf(Date);
expect(r.id).toBeUndefined();
expect(r.id).toBe(1);
});
});

0 comments on commit 2e79573

Please sign in to comment.