Skip to content

Commit

Permalink
mock strings fields as 20 char strings (#1686)
Browse files Browse the repository at this point in the history
  • Loading branch information
borisyordanov authored Nov 1, 2024
1 parent 3102465 commit 1852bae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/mock/src/faker/getters/scalar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ export const getMockScalar = ({
}

case 'string': {
let value = 'faker.word.sample()';
let value = 'faker.string.alpha(20)';
let imports: GeneratorImport[] = [];

if (item.enum) {
Expand Down

0 comments on commit 1852bae

Please sign in to comment.