Expand test coverage for incident status component
We want to establish a proper set of test coverage for status.vue
through a selection of unit tests inside tests/integration/components/status_spec.js
.
Our test coverage plan should cover:
- Does the component render the correct markup?
- Does the component render the right colours when all incidents are closed?
- Does the component render the right colours when some incidents are open?
State 1 | State 2 |
---|---|
Edited by David O'Regan