-
Notifications
You must be signed in to change notification settings - Fork 11
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
824 streamline frontend change level network calls #839
824 streamline frontend change level network calls #839
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I love a good cleanup 👌
I'd ideally like to see replacement tests rather than just deleting the old ones, but if you think it's really not worth the effort (as it's only really extracting stuff from local storage and sending it in a response) then I can live with that.
I am far more concerned with our lack of UI component tests in general, which is not something you can or should tackle here!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good 👍
Handful of minor suggestions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Beautiful! One test name looking like it needs correcting, else good to go.
}); | ||
|
||
test('WHEN client does not provide a level THEN the backend sends the level information for the given level', () => { | ||
test('WHEN client provides an invalid level THEN the backend sends the level information for the given level', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
THEN the backend responds with BadRequest
?
Description
combines the change level network calls into one
Notes
levelService
toresetService
(because all it was doing was resetting a level)levelService
for accessing our new endpointFurther PRs
Concerns
Checklist
Have you done the following?