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