From 2ae8965f56a217b7c7b4423db17d78c0c3e8e79e Mon Sep 17 00:00:00 2001 From: ivan katliarchuk Date: Tue, 22 Feb 2022 18:33:19 +0000 Subject: [PATCH] remove test that not provide any value --- test/test.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/test/test.ts b/test/test.ts index 598ab98..474ec16 100644 --- a/test/test.ts +++ b/test/test.ts @@ -1438,15 +1438,11 @@ test('is.emptyStringOrWhitespace', t => { test('is.nonEmptyStringAndNotWhitespace', t => { t.false(is.nonEmptyStringAndNotWhitespace(' ')); - t.false(is.nonEmptyStringAndNotWhitespace(String())); t.true(is.nonEmptyStringAndNotWhitespace('🦄')); t.throws(() => { assert.nonEmptyStringAndNotWhitespace(''); }); - t.throws(() => { - assert.nonEmptyStringAndNotWhitespace(String()); - }); t.notThrows(() => { assert.nonEmptyStringAndNotWhitespace('🦄'); });