valid-error.js 141 B

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