mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-22 15:01:08 +00:00
Remove unreachable code
This commit is contained in:
parent
9725b1bf0c
commit
79804a8e2f
1 changed files with 0 additions and 1 deletions
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue