Fix max listener warning from livequery server (#7083)

* fix max listner warning

* fix

* Clean test log
This commit is contained in:
Antoine Cormouls
2020-12-21 18:14:07 +01:00
committed by GitHub
parent 41a052c2c3
commit 05f5aa0eb3
2 changed files with 5 additions and 0 deletions

View File

@@ -2,6 +2,7 @@ const request = require('../lib/request');
describe('Enable express error handler', () => {
it('should call the default handler in case of error, like updating a non existing object', async done => {
spyOn(console, 'error');
const parseServer = await reconfigureServer(
Object.assign({}, defaultConfiguration, {
enableExpressErrorHandler: true,