From 248a3169ea4cd9a2678ddc951d92ba9868a5ddc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leyla=20J=C3=A4hnig?= Date: Sun, 3 Jul 2022 18:34:34 +0200 Subject: [PATCH] test(internet.ip): shorten expectation expression Co-authored-by: ST-DDT --- test/internet.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/internet.spec.ts b/test/internet.spec.ts index e80985cdc20..cbbf2745ddd 100644 --- a/test/internet.spec.ts +++ b/test/internet.spec.ts @@ -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); }); });