chore: relocating

This commit is contained in:
PopGoesTheWza 2021-09-07 12:18:53 +02:00
parent efb08e4a13
commit b8922dd378
2 changed files with 9 additions and 12 deletions

View file

@ -613,13 +613,6 @@ test('is.number', t => {
testType(t, 'number', ['integer', 'safeInteger', 'infinite']);
});
test('is.propertyKey', t => {
// ??? Unsure what is the correct syntax to `testType` multiple types. Also are the exclusion relevant?
testType(t, 'string', ['emptyString', 'numericString']);
testType(t, 'number', ['nan', 'integer', 'safeInteger', 'infinite']);
testType(t, 'symbol');
});
test('is.bigint', t => {
testType(t, 'bigint');
});
@ -1497,6 +1490,12 @@ test('is.nonEmptyMap', t => {
});
});
test('is.propertyKey', t => {
testType(t, 'string', ['emptyString', 'numericString']);
testType(t, 'number', ['nan', 'integer', 'safeInteger', 'infinite']);
testType(t, 'symbol');
});
test('is.any', t => {
t.true(is.any(is.string, {}, true, '🦄'));
t.true(is.any(is.object, false, {}, 'unicorns'));