You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@metron.apache.org by "Shane Ardell (Jira)" <ji...@apache.org> on 2019/10/07 20:11:00 UTC
[jira] [Created] (METRON-2277) Update sensor effect tests to use
mock store and actions
Shane Ardell created METRON-2277:
------------------------------------
Summary: Update sensor effect tests to use mock store and actions
Key: METRON-2277
URL: https://issues.apache.org/jira/browse/METRON-2277
Project: Metron
Issue Type: Sub-task
Reporter: Shane Ardell
After updating the version of NgRx and Angular we use, 2 tests fail in the sensor spec. I looked into fixing them, but when I reviewed the spec file I noticed we are relying on the actual store and actions to test effects. We should update the spec file to use the test helpers provided by ngrx, as mentioned [here|https://ngrx.io/guide/effects/testing].
--
This message was sent by Atlassian Jira
(v8.3.4#803005)