File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ const seededRuns = [
24
24
model : 'Colorado' ,
25
25
type : 'Coupe' ,
26
26
fuel : 'Electric' ,
27
- vin : '8J579HF1A7MK33575 ' ,
27
+ vin : '8J579HF1A7MK33574 ' ,
28
28
color : 'black' ,
29
29
vrm : 'GO12HOL' ,
30
30
bicycle : 'Cyclocross Bicycle' ,
@@ -38,7 +38,7 @@ const seededRuns = [
38
38
model : '2' ,
39
39
type : 'Wagon' ,
40
40
fuel : 'Hybrid' ,
41
- vin : 'XFWS74Z1N5S678768 ' ,
41
+ vin : 'XFWS74Z1N5S678767 ' ,
42
42
color : 'azure' ,
43
43
vrm : 'YL87FDZ' ,
44
44
bicycle : 'Triathlon/Time Trial Bicycle' ,
@@ -109,9 +109,9 @@ describe('vehicle', () => {
109
109
110
110
describe ( 'vin()' , ( ) => {
111
111
it ( 'returns valid vin number' , ( ) => {
112
- for ( let step = 0 ; step < 300000 ; step ++ ) {
112
+ for ( let step = 0 ; step < 5 ; step ++ ) {
113
113
const vin = faker . vehicle . vin ( ) ;
114
- expect ( vin ) . match (
114
+ expect ( vin ) . toMatch (
115
115
/ ^ ( [ A - H J - N P R - Z 0 - 9 ] { 10 } [ A - H J - N P R - Z 0 - 9 ] { 1 } [ A - H J - N P R - Z 0 - 9 ] { 1 } \d { 5 } ) $ /
116
116
) ;
117
117
}
You can’t perform that action at this time.
0 commit comments