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
CS - Add frontend support for new job which takes only a quarter as its parameter #52
Conversation
8338cc7
to
a6437ee
Compare
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.
lgtm
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.
LGTM.. will test on qa
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.
Please consider making the scope of Stryker exclusions as small as possible, as illustrated in this PR: #57
|
||
const quarters = quarterRange(startQtr, endQtr); | ||
|
||
// Stryker disable all : not sure how to test/mock local storage |
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.
This should be followed by
// Stryker enable all
after the line of code that does local storage.
callback({quarter}); | ||
}; | ||
|
||
// Stryker disable all : Stryker is testing by changing the padding to 0. But this is simply a visual optimization as it makes it look better |
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.
Same as above... it's ok to invoke this for the part of the code that needs Stryker disabled... but you need to confine this to the smallest possible scope.
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.
In #57 I suggest what this might look like.
…terJob-pc pc - make stryker exclusions as small as possible lgtm
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.
LGTM
Resolves #25
Storyboard: https://ucsb-cs156-f22.github.io/f22-5pm-courses-docs-qa/storybook-qa/ChristianSupportForNewQuarterJob/?path=/docs/components-jobs-updatecoursesbyquarterjobform--default