From a079e3b5e9300f8b2f48a7c6d5190bf99336ddb1 Mon Sep 17 00:00:00 2001 From: Christian Rackerseder Date: Thu, 7 Jun 2018 07:20:35 +0200 Subject: [PATCH] Fixed unit test --- types/is-touch-device/is-touch-device-tests.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/is-touch-device/is-touch-device-tests.ts b/types/is-touch-device/is-touch-device-tests.ts index 7f1d558649..5ae2e1eff5 100644 --- a/types/is-touch-device/is-touch-device-tests.ts +++ b/types/is-touch-device/is-touch-device-tests.ts @@ -1,3 +1,3 @@ import isTouchDevice from 'is-touch-device'; -isTouchDevice() === true; +if (isTouchDevice()) {}