فهرست منبع

Remove unreachable code

John Lees-Miller 7 سال پیش
والد
کامیت
79804a8e2f
1فایلهای تغییر یافته به همراه0 افزوده شده و 1 حذف شده
  1. 0 1
      libraries/o-error/test/o-error.test.js

+ 0 - 1
libraries/o-error/test/o-error.test.js

@@ -99,7 +99,6 @@ describe('OError', () => {
   it('handles a custom error without info', () => {
     try {
       throw new CustomError1({})
-      expect.fail('should have thrown')
     } catch (e) {
       expect(OError.getFullInfo(e)).to.deep.equal({})
       let infoKey = Object.keys(e).find(k => k === 'info')