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

Implemented React Native Testing and a Sample Test #84

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

david-willis-dev
Copy link

Closes #61
This was mostly just to add React Native Testing to the project and show how it can be done. I added a test script for the AlarmCard component with Jest. The test script just covers the basic functionality, making sure it renders correctly. It also modifies the package.json file to include a script for testing. There seemed to be some compatibility issues with the version of the React library that was in the project, but I think I resolved them. Just a heads up.

In essence:
-Added new test file AlarmCard.test.js to client/MyTestApp
-Added a test script to package.json

Copy link
Collaborator

@kanielv kanielv left a comment

Choose a reason for hiding this comment

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

I don't see AlarmCard.test.js. Can you make sure that it was added to the PR?

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

Successfully merging this pull request may close these issues.

Add Unit Tests
2 participants