diff --git a/test/e2e/helpers/test-helper.js b/test/e2e/helpers/test-helper.js index 1f112c36ee..33c5d88d1f 100644 --- a/test/e2e/helpers/test-helper.js +++ b/test/e2e/helpers/test-helper.js @@ -2,6 +2,9 @@ process.env.NODE_ENV = 'test'; +// because of db-migrate bug (https://github.com/Unleash/unleash/issues/171) +process.setMaxListeners(0); + const supertest = require('supertest'); const migrator = require('../../../migrator'); const { createStores } = require('../../../lib/db');