Raathigesh / majestic

⚡ Zero config GUI for Jest
MIT License
7.49k stars 173 forks source link

fix(sidebar): missing files after fixing failed tests #136

Closed briwa closed 5 years ago

briwa commented 5 years ago

This closes #115 (my bad, I referenced the wrong issue id previously).

I changed the code to such that it will only filter the failed test files when there are actually failed items in the list (because otherwise it would filter the files to empty). Also another small fix on the UI to highlight the failed test toggle button when activated.

This fixes the issue as far as the use case in #115 is concerned, but if it doesn't, let me know! Thanks for this awesome tool btw.

Raathigesh commented 5 years ago

This is awesome. Thank you for contributing back. I'm glad that the tool is useful.