test: reinstate skipped research.routes test#2009
Conversation
1 flaky tests on run #2914 ↗︎Details:
|
|||||||||||||||||||||
| Test | ||
|---|---|---|
| [Common] > [User Menu] > [By Authenticated] |
Screenshot
|
|
This comment has been generated by cypress-bot as a result of this project's GitHub integration settings.
a29836d to
4264a59
Compare
|
@ONEARMY/maintainers can I get some eyes on this? Would be happy to see it merged or instead close it. |
chrismclarke
left a comment
There was a problem hiding this comment.
Thanks @thisislawatts
For whatever reason the tests weren't happy with files that imported directly from src, I can see you mocked imports from src/index so instead of changing all other files updated the jest config to provide a mapping in aea15e4 which looks happier.
At some point it might be good to tidy things up to make it easier to consistently mock the useCommonStores method that you created (super handy btw), but for now I'd say good to go, thanks again.
|
🎉 This PR is included in version 1.38.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
PR Checklist
PR Type
Description
Adds back a test suite which had previously been disabled.