Skip to content

Commit

Permalink
Merge pull request #53 from UNDERCOVERj/main
Browse files Browse the repository at this point in the history
test(zod-mock): add min/max value
  • Loading branch information
Brian-McBride authored Sep 5, 2022
2 parents 24d2ee5 + 2e9a81c commit 40d2d1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/zod-mock/src/lib/zod-mock.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ describe('zod-mock', () => {
expect(typeof mockData.jobTitle).toEqual('string');
expect(typeof mockData.stringLength).toEqual('number');
expect(typeof mockData.numberCount).toEqual('string');
expect(mockData.age > 18 && mockData.age < 120).toBeTruthy();
expect(mockData.age >= 18 && mockData.age <= 120).toBeTruthy();
expect(typeof mockData.record).toEqual('object');
expect(typeof Object.values(mockData.record)[0]).toEqual('number');
expect(mockData.nativeEnum === 1 || mockData.nativeEnum === 2);
Expand Down

0 comments on commit 40d2d1f

Please sign in to comment.