remove test that not provide any value

This commit is contained in:
ivan katliarchuk 2022-02-22 18:33:19 +00:00
parent f709a59ec4
commit 2ae8965f56
No known key found for this signature in database
GPG key ID: 601CDBBBB76E47BE

View file

@ -1438,15 +1438,11 @@ test('is.emptyStringOrWhitespace', t => {
test('is.nonEmptyStringAndNotWhitespace', t => { test('is.nonEmptyStringAndNotWhitespace', t => {
t.false(is.nonEmptyStringAndNotWhitespace(' ')); t.false(is.nonEmptyStringAndNotWhitespace(' '));
t.false(is.nonEmptyStringAndNotWhitespace(String()));
t.true(is.nonEmptyStringAndNotWhitespace('🦄')); t.true(is.nonEmptyStringAndNotWhitespace('🦄'));
t.throws(() => { t.throws(() => {
assert.nonEmptyStringAndNotWhitespace(''); assert.nonEmptyStringAndNotWhitespace('');
}); });
t.throws(() => {
assert.nonEmptyStringAndNotWhitespace(String());
});
t.notThrows(() => { t.notThrows(() => {
assert.nonEmptyStringAndNotWhitespace('🦄'); assert.nonEmptyStringAndNotWhitespace('🦄');
}); });