Searched refs:errToThrow (Results 1 – 2 of 2) sorted by relevance
164 let errToThrow; variable166 errToThrow = new Error();167 throw errToThrow;171 .then(assert.fail, (e) => assert.strictEqual(e, errToThrow));
174 let errToThrow; variable176 errToThrow = new Error();177 throw errToThrow;181 .then(assert.fail, (e) => assert.strictEqual(e, errToThrow));