Skip to content
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

Frontend comments/answers unit tests #229

Merged
merged 6 commits into from
Dec 13, 2021

Conversation

berkaydoner
Copy link
Collaborator

I have initialized the testing environment using Jest and added several unit tests for the comment/answer functionality. Unit tests mainly focus on checking the format of the return values of controllers. I also added a unit test for the date formatter function used in comment component.

All unit tests pass for now.

@berkaydoner berkaydoner self-assigned this Dec 12, 2021
@berkaydoner berkaydoner changed the title Frontend comments unit test Frontend comments/answers unit tests Dec 12, 2021
Copy link
Collaborator

@CenekSanzak CenekSanzak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's what we need for ther fronted tests. Nice implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants