-
Notifications
You must be signed in to change notification settings - Fork 469
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
Adding more tests and bug fixes #1163
Adding more tests and bug fixes #1163
Conversation
const options = { | ||
headers: { | ||
"Content-Type": "application/x-www-form-urlencoded;charset=UTF-8", | ||
Authorization: "Bearer " + localStorage.getItem("token") |
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.
string interpolation using backticks might be cleaner
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.
Changed
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.
is it possible to refactor the api calls so that
const options = {
headers: {
"Content-Type": "application/x-www-form-urlencoded;charset=UTF-8",
Authorization: "Bearer " + localStorage.getItem("token")
}
};
const request = new Request(requestURL, options);
block is not duplicated everywhere?
Description
Increased the test coverage to more React components, made little changes to the documentation, and fixed a small DB issue.
Reviewers
@viyatb @7a @sharmamohit123 @Ashrith-Shetty
Types of changes
Checklist: