Skip to content

Commit

Permalink
test(internet.ip): shorten expectation expression
Browse files Browse the repository at this point in the history
Co-authored-by: ST-DDT <[email protected]>
  • Loading branch information
xDivisionByZerox and ST-DDT committed Aug 18, 2022
1 parent 0b3820b commit 248a316
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/internet.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ describe('internet', () => {

expect(ip).toBeTruthy();
expect(ip).toBeTypeOf('string');
expect(ip).toSatisfy((value: string) => validator.isIP(value));
expect(ip).toSatisfy(validator.isIP);
});
});

Expand Down

0 comments on commit 248a316

Please sign in to comment.