chore: relocating
This commit is contained in:
parent
efb08e4a13
commit
b8922dd378
2 changed files with 9 additions and 12 deletions
13
test/test.ts
13
test/test.ts
|
|
@ -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'));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue