-
-
Notifications
You must be signed in to change notification settings - Fork 758
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
Bug Report : Visiting advertisement throws error #1092
Comments
Make sure the tests for the file(s) you are modifying have 100% code coverage when complete |
@palisadoes The file I need to modify has only 45% test coverage, so do I need to write more test? |
Yes to get it to 100% coverage. We are currently at an unacceptable level across the repository code base. |
@palisadoes I have fixed the above bug, and some more bug which were on the advertisement page after solving the above bug like :
|
|
Hello @noman2002, I am new to writing test, I used |
@pateldivyesh1323 Did you used the correct relative path ? |
@noman2002 Thankyou problem was with path I was using |
@pateldivyesh1323 have you followed the steps shown in the YouTube video of advertisements ? |
@SiddheshKukade Yes, I saw the video and followed steps. |
Describe the bug
Visiting created advertisement shows error.
endDate.toDateString is not a function
To Reproduce
Steps to reproduce the behavior:
Expected behavior
endDate
should be passed as a Date object to usetoDateString()
function.Actual behavior
endDate
is passes as string which throws the error.Screenshots
Additional details
I would like to work on this.
The text was updated successfully, but these errors were encountered: