Commit 3f774f3
feat(optimizer): Add optimizer unit tests and refactor (#4094)
* refactor: extract optimiser lesson option management and add unit tests
* refactor: extract unassigned lesson option filtering and add unit tests
* refactor: move optimiser test defaults into test-utils
* feat: add optimiser button unit tests
* feat: add optimiser results unit tests
* refactor: WIP refactor optimiser form
* refactor: update optimiser form styles
* feat: add format unit tests
* feat: add optimiser form unit tests
* fix: revert api path
* fix: set difference compatibility
* fix: optimiser free day toggle
* lint: remove unused import
* fix: update style issues
* fix: optimiser tooltip icon wrap
* fix: update styles
* refactor: replace enzyme with testing library
* fix: set difference compatibility
# Conflicts:
# website/src/views/optimiser/OptimiserForm/OptimiserFreeDaySelect.tsx
* lint: remove unused import
* fix: remove hard coded value
* fix: adjust styles
* fix: update dropdown style
---------
Co-authored-by: Ravern Koh <ravernkoh@gmail.com>
Co-authored-by: Jonathan Loh <36648707+jloh02@users.noreply.github.com>1 parent a731c43 commit 3f774f3
46 files changed
Lines changed: 2968 additions & 1280 deletions
File tree
- website
- src
- __mocks__/modules
- apis
- test-utils
- types
- utils
- views
- hooks
- optimiser
- OptimiserContainer
- OptimiserForm
- routes
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
267 | 267 | | |
268 | 268 | | |
269 | 269 | | |
270 | | - | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
271 | 273 | | |
272 | 274 | | |
273 | 275 | | |
| |||
404 | 406 | | |
405 | 407 | | |
406 | 408 | | |
| 409 | + | |
407 | 410 | | |
408 | 411 | | |
409 | 412 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | | - | |
| 45 | + | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
0 commit comments