We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90e1af9 commit 7a6e23cCopy full SHA for 7a6e23c
test/vehicle.spec.ts
@@ -106,16 +106,9 @@ describe('vehicle', () => {
106
);
107
});
108
109
-
+
110
describe('vin()', () => {
111
it('returns valid vin number', () => {
112
- const vin = faker.vehicle.vin();
113
- expect(vin).match(
114
- /^([A-HJ-NPR-Z0-9]{10}[A-HJ-NPR-Z0-9]{1}[A-HJ-NPR-Z0-9]{1}\d{5})$/
115
- );
116
- });
117
118
- it('is 17 characters long', () => {
119
for (let step = 0; step < 300000; step++) {
120
const vin = faker.vehicle.vin();
121
expect(vin).match(
0 commit comments