File tree Expand file tree Collapse file tree
packages/openapi-ts-tests/faker/v10/__snapshots__ Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -224,7 +224,7 @@ import { faker } from '@faker-js/faker';
224224faker .seed (42 );
225225faker .setDefaultRefDate (' 2026-01-01T00:00:00.000Z' );
226226
227- const data = fakeFoo ({ faker } );
227+ const data = fakeFoo ();
228228// always returns the same output
229229```
230230
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ export const fakeShortName = (options?: Options) => {
9292
9393export const fakeMinOnlyString = ( options ?: Options ) => {
9494 const f = options ?. faker ?? faker ;
95- return f . string . alpha ( { length : { min : 10 , max : 1000 } } ) ;
95+ return f . string . alpha ( { length : { min : 10 , max : 100 } } ) ;
9696} ;
9797
9898export const fakeMaxOnlyString = ( options ?: Options ) => {
@@ -152,7 +152,7 @@ export const fakeTagList = (options?: Options) => {
152152
153153export const fakeMinOnlyArray = ( options ?: Options ) => {
154154 const f = options ?. faker ?? faker ;
155- return f . helpers . multiple ( ( ) => f . number . int ( ) , { count : { min : 3 , max : 1000 } } ) ;
155+ return f . helpers . multiple ( ( ) => f . number . int ( ) , { count : { min : 3 , max : 100 } } ) ;
156156} ;
157157
158158export const fakeMaxOnlyArray = ( options ?: Options ) => {
Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ export const fakeShortName = (options?: Options): ShortName => {
9393
9494export const fakeMinOnlyString = ( options ?: Options ) : MinOnlyString => {
9595 const f = options ?. faker ?? faker ;
96- return f . string . alpha ( { length : { min : 10 , max : 1000 } } ) ;
96+ return f . string . alpha ( { length : { min : 10 , max : 100 } } ) ;
9797} ;
9898
9999export const fakeMaxOnlyString = ( options ?: Options ) : MaxOnlyString => {
@@ -153,7 +153,7 @@ export const fakeTagList = (options?: Options): TagList => {
153153
154154export const fakeMinOnlyArray = ( options ?: Options ) : MinOnlyArray => {
155155 const f = options ?. faker ?? faker ;
156- return f . helpers . multiple ( ( ) => f . number . int ( ) , { count : { min : 3 , max : 1000 } } ) ;
156+ return f . helpers . multiple ( ( ) => f . number . int ( ) , { count : { min : 3 , max : 100 } } ) ;
157157} ;
158158
159159export const fakeMaxOnlyArray = ( options ?: Options ) : MaxOnlyArray => {
Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ export const fakeShortName = (options?: Options) => {
9191
9292export const fakeMinOnlyString = ( options ?: Options ) => {
9393 const f = options ?. faker ?? faker ;
94- return f . string . alpha ( { length : { min : 10 , max : 1000 } } ) ;
94+ return f . string . alpha ( { length : { min : 10 , max : 100 } } ) ;
9595} ;
9696
9797export const fakeMaxOnlyString = ( options ?: Options ) => {
@@ -151,7 +151,7 @@ export const fakeTagList = (options?: Options) => {
151151
152152export const fakeMinOnlyArray = ( options ?: Options ) => {
153153 const f = options ?. faker ?? faker ;
154- return f . helpers . multiple ( ( ) => f . number . int ( ) , { count : { min : 3 , max : 1000 } } ) ;
154+ return f . helpers . multiple ( ( ) => f . number . int ( ) , { count : { min : 3 , max : 100 } } ) ;
155155} ;
156156
157157export const fakeMaxOnlyArray = ( options ?: Options ) => {
Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ export const fakeShortName = (options?: Options) => {
103103
104104export const fakeMinOnlyString = ( options ?: Options ) => {
105105 const f = options ?. faker ?? faker ;
106- return f . string . alpha ( { length : { min : 10 , max : 1000 } } ) ;
106+ return f . string . alpha ( { length : { min : 10 , max : 100 } } ) ;
107107} ;
108108
109109export const fakeMaxOnlyString = ( options ?: Options ) => {
@@ -163,7 +163,7 @@ export const fakeTagList = (options?: Options) => {
163163
164164export const fakeMinOnlyArray = ( options ?: Options ) => {
165165 const f = options ?. faker ?? faker ;
166- return f . helpers . multiple ( ( ) => f . number . int ( ) , { count : { min : 3 , max : 1000 } } ) ;
166+ return f . helpers . multiple ( ( ) => f . number . int ( ) , { count : { min : 3 , max : 100 } } ) ;
167167} ;
168168
169169export const fakeMaxOnlyArray = ( options ?: Options ) => {
Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ export const fakeShortName = (options?: Options): ShortName => {
104104
105105export const fakeMinOnlyString = ( options ?: Options ) : MinOnlyString => {
106106 const f = options ?. faker ?? faker ;
107- return f . string . alpha ( { length : { min : 10 , max : 1000 } } ) ;
107+ return f . string . alpha ( { length : { min : 10 , max : 100 } } ) ;
108108} ;
109109
110110export const fakeMaxOnlyString = ( options ?: Options ) : MaxOnlyString => {
@@ -164,7 +164,7 @@ export const fakeTagList = (options?: Options): TagList => {
164164
165165export const fakeMinOnlyArray = ( options ?: Options ) : MinOnlyArray => {
166166 const f = options ?. faker ?? faker ;
167- return f . helpers . multiple ( ( ) => f . number . int ( ) , { count : { min : 3 , max : 1000 } } ) ;
167+ return f . helpers . multiple ( ( ) => f . number . int ( ) , { count : { min : 3 , max : 100 } } ) ;
168168} ;
169169
170170export const fakeMaxOnlyArray = ( options ?: Options ) : MaxOnlyArray => {
Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ export const fakeShortName = (options?: Options) => {
102102
103103export const fakeMinOnlyString = ( options ?: Options ) => {
104104 const f = options ?. faker ?? faker ;
105- return f . string . alpha ( { length : { min : 10 , max : 1000 } } ) ;
105+ return f . string . alpha ( { length : { min : 10 , max : 100 } } ) ;
106106} ;
107107
108108export const fakeMaxOnlyString = ( options ?: Options ) => {
@@ -162,7 +162,7 @@ export const fakeTagList = (options?: Options) => {
162162
163163export const fakeMinOnlyArray = ( options ?: Options ) => {
164164 const f = options ?. faker ?? faker ;
165- return f . helpers . multiple ( ( ) => f . number . int ( ) , { count : { min : 3 , max : 1000 } } ) ;
165+ return f . helpers . multiple ( ( ) => f . number . int ( ) , { count : { min : 3 , max : 100 } } ) ;
166166} ;
167167
168168export const fakeMaxOnlyArray = ( options ?: Options ) => {
Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ export const fakeShortName = (options?: Options) => {
105105
106106export const fakeMinOnlyString = ( options ?: Options ) => {
107107 const f = options ?. faker ?? faker ;
108- return f . string . alpha ( { length : { min : 10 , max : 1000 } } ) ;
108+ return f . string . alpha ( { length : { min : 10 , max : 100 } } ) ;
109109} ;
110110
111111export const fakeMaxOnlyString = ( options ?: Options ) => {
@@ -165,7 +165,7 @@ export const fakeTagList = (options?: Options) => {
165165
166166export const fakeMinOnlyArray = ( options ?: Options ) => {
167167 const f = options ?. faker ?? faker ;
168- return f . helpers . multiple ( ( ) => f . number . int ( ) , { count : { min : 3 , max : 1000 } } ) ;
168+ return f . helpers . multiple ( ( ) => f . number . int ( ) , { count : { min : 3 , max : 100 } } ) ;
169169} ;
170170
171171export const fakeMaxOnlyArray = ( options ?: Options ) => {
Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ export const fakeShortName = (options?: Options): ShortName => {
106106
107107export const fakeMinOnlyString = ( options ?: Options ) : MinOnlyString => {
108108 const f = options ?. faker ?? faker ;
109- return f . string . alpha ( { length : { min : 10 , max : 1000 } } ) ;
109+ return f . string . alpha ( { length : { min : 10 , max : 100 } } ) ;
110110} ;
111111
112112export const fakeMaxOnlyString = ( options ?: Options ) : MaxOnlyString => {
@@ -166,7 +166,7 @@ export const fakeTagList = (options?: Options): TagList => {
166166
167167export const fakeMinOnlyArray = ( options ?: Options ) : MinOnlyArray => {
168168 const f = options ?. faker ?? faker ;
169- return f . helpers . multiple ( ( ) => f . number . int ( ) , { count : { min : 3 , max : 1000 } } ) ;
169+ return f . helpers . multiple ( ( ) => f . number . int ( ) , { count : { min : 3 , max : 100 } } ) ;
170170} ;
171171
172172export const fakeMaxOnlyArray = ( options ?: Options ) : MaxOnlyArray => {
Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ export const fakeShortName = (options?: Options) => {
104104
105105export const fakeMinOnlyString = ( options ?: Options ) => {
106106 const f = options ?. faker ?? faker ;
107- return f . string . alpha ( { length : { min : 10 , max : 1000 } } ) ;
107+ return f . string . alpha ( { length : { min : 10 , max : 100 } } ) ;
108108} ;
109109
110110export const fakeMaxOnlyString = ( options ?: Options ) => {
@@ -164,7 +164,7 @@ export const fakeTagList = (options?: Options) => {
164164
165165export const fakeMinOnlyArray = ( options ?: Options ) => {
166166 const f = options ?. faker ?? faker ;
167- return f . helpers . multiple ( ( ) => f . number . int ( ) , { count : { min : 3 , max : 1000 } } ) ;
167+ return f . helpers . multiple ( ( ) => f . number . int ( ) , { count : { min : 3 , max : 100 } } ) ;
168168} ;
169169
170170export const fakeMaxOnlyArray = ( options ?: Options ) => {
You can’t perform that action at this time.
0 commit comments