valid-error.js 144 B

123456789
  1. "use strict";
  2. module.exports = function (t, a) {
  3. var e = new Error();
  4. a(t(e), e, "Error");
  5. a.throws(function () {
  6. t({});
  7. }, "Other");
  8. };