mirror of https://github.com/embarklabs/embark.git
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:
parent
db71a93bba
commit
7881e6a3ac
|
@ -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) => {});
|
||||||
|
|
Loading…
Reference in New Issue