Skip to content

Commit 7a6e23c

Browse files
committed
test: merge tests
1 parent 90e1af9 commit 7a6e23c

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

test/vehicle.spec.ts

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -106,16 +106,9 @@ describe('vehicle', () => {
106106
);
107107
});
108108
});
109-
109+
110110
describe('vin()', () => {
111111
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', () => {
119112
for (let step = 0; step < 300000; step++) {
120113
const vin = faker.vehicle.vin();
121114
expect(vin).match(

0 commit comments

Comments
 (0)