-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use senedd.c not senedd #706
Conversation
I am surprised that the WhereDoIVote-Widget/src/tests/unit/EverythingWidgetComponents.test.js Lines 145 to 153 in 83ba419
|
Yikes, this fails locally but isn't caught in CI. |
Just having a quick look at your CI log, it outputs
I reckon is applying a filter that is not matching all tests. I think changing that to |
84f7ff2
to
a7b9372
Compare
I think the issue here is how we are rendering props that are structured as a dict. I've confirmed that the props in question do in fact exist and are accessible in the relevant component. I suspect this effects several areas of the app. |
The code itself is actually fine here. Fundamentally, the problem is that the
tests is malformed.
It is throwing
under test because your test object doesn't define one. Implicitly You're also passing
which will also throw an error once you get past the voting system issue. Remember internally the app is just passing around bits of an API response from dev.DC e.g: I have submitted a PR at #707 which
and requested review. Suggest closing this one. |
Fixed with #707 |
No description provided.