Test entry files
Currently in the security dashboard we are not testing the entry files. As we're mocking the properties (for instance the router) in the mounted components, if the entry file does not pass down these required properties the application fails even though tests are passing.
This issue was inspired by the little accident we had in the security dashboards (which can be referenced here: #217595 (comment 355089150)).
Implementation Plan
-
frontend write integration tests for first_class_init.js -
frontend write integration tests for security_charts_init.js -
frontend write integration tests for vulnerabilities_init_integration_spec.js
Edited by David Pisek