You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: implement attendance preference for hackers (#773)
* - Implement attendance preference for hackers.
Questions:
- Do we need to write unit tests for this?
- Do we need to update/regenerate api docs to reflect the change in response data for the hacker model.
* Fix spelling errors for accommodation in the codebase.
- Drew JSON for testing from the api docs and was getting a validator error, on closer inspection, the spelling of acccommodation was incorrect in the docs, and in my own commit for hacker.validator.js.
* feat: add unit testing for attendance preference.
- unit test the following failures:
- invalid enum.
- option not passed to the request.
- add valid attendance preferences that vary across the dummy hackers.
* fix: remove accidental changes on valid test for code of conduct.
* fix: add missing component on unit tests.
* fix: add attendance preference field to remaining dummy hackers.
* Potential fix to invalid input test
Co-authored-by: Yun Kai Peng <yunkaipeng0129@gmail.com>
0 commit comments