Sha256: 4e8c46951eeaa32fa53b6e71a0ec96e1cadd7a6c013571917a781b7b3cdba9e6
Contents?: true
Size: 579 Bytes
Versions: 46
Compression:
Stored size: 579 Bytes
Contents
"use strict"; module.exports = function (t, a) { var x; a.throws(function () { t(); }, TypeError, "Undefined"); a.throws(function () { t(null); }, TypeError, "Null"); a.throws(function () { t(0); }, TypeError, "Number"); a.throws(function () { t(true); }, TypeError, "Boolean"); a.throws(function () { t("raz"); }, TypeError, "String"); a.throws(function () { t(function () {}); }, TypeError, "Function"); a.throws(function () { t({}); }, TypeError, "Object"); a.throws(function () { t({ length: 0 }); }, TypeError, "Array-like"); a(t(x = []), x, "Array"); };
Version data entries
46 entries across 46 versions & 3 rubygems