test(@embark/communication): fix failing test (#1979)

In d6bf5c24b9 we've ensured that certain modules of
embark only executed if their functionality is actually enabled.
This broke one of our tests in the communication module.
This commit fixes the test by explicitly enabling the module's functionality.
This commit is contained in:
Pascal Precht 2019-10-22 02:23:43 +09:00 committed by Iuri Matias
parent db71a93bba
commit 7881e6a3ac
1 changed files with 2 additions and 1 deletions

View File

@ -42,7 +42,8 @@ describe('stack/communication', () => {
test('it should register and start communication node', () => { test('it should register and start communication node', () => {
const communicationConfig = { const communicationConfig = {
provider: 'whisper' provider: 'whisper',
enabled: true
}; };
const processRegisterHandler = sinon.spy((name, fns) => {}); const processRegisterHandler = sinon.spy((name, fns) => {});