Move to separate is.boundFunction test

This commit is contained in:
Darren Scerri 2017-11-10 09:03:02 +01:00
parent 4cb5fc391a
commit 1f30c1d038

View file

@ -370,6 +370,9 @@ test('is.array', t => {
test('is.function', t => {
testType(t, 'function', ['generatorFunction', 'asyncFunction', 'boundFunction']);
});
test('is.boundFunction', t => {
t.false(m.boundFunction(function () {})); // tslint:disable-line:no-empty only-arrow-functions
});