1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-25 00:07:47 +01:00

Mute EventEmitter memory leak detected for tests.

See #171
This commit is contained in:
Ivar 2016-11-18 20:49:56 +01:00 committed by Ivar Conradi Østhus
parent 1a5407e5b8
commit 3412c36933

View File

@ -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');