Merge e13599e5d7 into 83adc096ef
This commit is contained in:
commit
58c2060097
3 changed files with 13 additions and 0 deletions
9
test.js
9
test.js
|
|
@ -504,6 +504,15 @@ test('is.emptyOrWhitespace', t => {
|
|||
t.false(m.emptyOrWhitespace('unicorn'));
|
||||
});
|
||||
|
||||
test('is.emoji', t => {
|
||||
t.true(m.emoji('🙏'));
|
||||
t.true(m.emoji('👑'));
|
||||
t.true(m.emoji('\uD83D\uDC04'));
|
||||
t.true(m.emoji('9️⃣'));
|
||||
t.true(m.emoji('🎌'));
|
||||
t.false(m.emoji(':unicorn:'));
|
||||
});
|
||||
|
||||
test('is.any', t => {
|
||||
t.true(m.any(m.string, {}, true, '🦄'));
|
||||
t.true(m.any(m.object, false, {}, 'unicorns'));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue