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

Create mock tests #3

Closed
hsorathia opened this issue Jun 16, 2021 · 1 comment · Fixed by #26
Closed

Create mock tests #3

hsorathia opened this issue Jun 16, 2021 · 1 comment · Fixed by #26
Assignees
Labels
good first issue Good for newcomers new feature new feature

Comments

@hsorathia
Copy link
Contributor

Research some testing libraries that we can use for our application. Two primary contenders that I was thinking of are

  1. react-testing-library
  2. jest

There's some positives to both of them. Try and see which one would be easier to use, see if there are any preferences (amongst anyone else on the team), and then add it to our repo.

AC:

  • Add the testing library to our repo
    • Find out if there are any types associated with the library
  • Add a mock test (test a dummy react component)
  • Get tests to run on a push event
@hsorathia hsorathia added good first issue Good for newcomers new feature new feature labels Jun 16, 2021
@hsorathia hsorathia linked a pull request Jun 26, 2021 that will close this issue
@hsorathia hsorathia removed a link to a pull request Jun 26, 2021
@hsorathia
Copy link
Contributor Author

Add a testing subdirectory under the root directory called __tests__ , and we will dump all of our tests there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers new feature new feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants