Skip to content

Commit

Permalink
fix: mockData example
Browse files Browse the repository at this point in the history
  • Loading branch information
f1729 authored Feb 8, 2023
1 parent a3d40f4 commit d45a3ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/zod-mock/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ const mockData = generateMock(schema, {
stringMap: {
locked: () => `this return set to the locked value`,
email: () => `not a email anymore`,
primaryColor: faker.internet.color,
primaryColor: () => faker.internet.color,
},
});
```
Expand Down

0 comments on commit d45a3ec

Please sign in to comment.