Skip to content

Commit

Permalink
fix: make test name more clear
Browse files Browse the repository at this point in the history
Co-authored-by: Piotr Kuczynski <[email protected]>
  • Loading branch information
import-brain and pkuczynski authored Mar 27, 2022
1 parent 1a17045 commit 42248c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/finance.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ describe('finance', () => {
expect(pin).toBeTypeOf('string');
});

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

0 comments on commit 42248c4

Please sign in to comment.