Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
group.beforeEach(() => {
this.exception = Exception
this.server = new Server(Context, Route, new Logger(), this.exception)
this.server.bindExceptionHandler()
ioc.fake('Adonis/Exceptions/BaseExceptionHandler', () => {
return new BaseExceptionHandler()
})
})
group.beforeEach(() => {
this.exception = Exception
this.server = new Server(Context, Route, new Logger(), this.exception, new Helpers(path.join(__dirname, 'app')))
this.server.bindExceptionHandler()
})