This commit is contained in:
MiTiX committed 2020-03-02 14:53:23 +07:00
1 parent f2c263eefa
commit 2ae7118139
4280 files changed
+484929

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
"use strict";
module.exports = function (t, a) {
// Just sanity checks, as logic is tested at isPlainFunction
var fn = function () {};
a(t(fn), fn, "Function");
a.throws(function () { t({}); }, TypeError, "Error");
};