Skip to content

Commit

Permalink
Mute EventEmitter memory leak detected for tests.
Browse files Browse the repository at this point in the history
See #171
  • Loading branch information
ivarconr committed Nov 18, 2016
1 parent b7bffa1 commit 961f9be
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/e2e/helpers/test-helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 961f9be

Please sign in to comment.