mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-27 11:01:56 +02:00
Remove unreachable code
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user