Refactor active_checkbox_spec to not mock computed
Mocks the state instead, to ensure we don't mock the computed value. This gives us test coverage of the computed value for free.
Showing
Please register or sign in to comment
Mocks the state instead, to ensure we don't mock the computed value. This gives us test coverage of the computed value for free.