Skip to content

Commit 5fbf279

Browse files
committed
fix: new error message in test
1 parent d56b65e commit 5fbf279

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/finance.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ describe('finance', () => {
479479

480480
it('should throw an error when length is less than 1', () => {
481481
expect(() => faker.finance.pin(-5)).toThrowError(
482-
/^PIN length must be 1 or greater$/
482+
/^minimum length is 1$/
483483
);
484484
});
485485
});

0 commit comments

Comments
 (0)