From 7881e6a3ac405543cedfd59cca5b76ad8e287835 Mon Sep 17 00:00:00 2001 From: Pascal Precht Date: Tue, 22 Oct 2019 02:23:43 +0900 Subject: [PATCH] test(@embark/communication): fix failing test (#1979) In https://github.com/embark-framework/embark/commit/d6bf5c24b92c0d1a8bc7c0a28a0432e033d72e74 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. --- packages/stack/communication/test/communication.spec.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/stack/communication/test/communication.spec.js b/packages/stack/communication/test/communication.spec.js index 5d34acab7..3f95ebc35 100644 --- a/packages/stack/communication/test/communication.spec.js +++ b/packages/stack/communication/test/communication.spec.js @@ -42,7 +42,8 @@ describe('stack/communication', () => { test('it should register and start communication node', () => { const communicationConfig = { - provider: 'whisper' + provider: 'whisper', + enabled: true }; const processRegisterHandler = sinon.spy((name, fns) => {});