Skip to content

Commit 42248c4

Browse files
ejchengpkuczynski
andauthored
fix: make test name more clear
Co-authored-by: Piotr Kuczynski <piotr.kuczynski@gmail.com>
1 parent 1a17045 commit 42248c4

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
@@ -462,7 +462,7 @@ describe('finance', () => {
462462
expect(pin).toBeTypeOf('string');
463463
});
464464

465-
it('should have all characters be a digit', () => {
465+
it('should contain only digits', () => {
466466
const pin = faker.finance.pin();
467467
expect(pin).toMatch(/^[0-9]+$/);
468468
});

0 commit comments

Comments
 (0)