An app built by FrontEnd Students in Mod3 designed to facilitate creativity and the challenge of learning a new technology. The app will be designed to deliver a portable tarot journal where the user can easily do readings and log their own thoughts over time.
Attempted to write testing for DailyReading.js need to have it changed to a class component. Testing is commented out/work in progress/ for when we change DailyReading to a class component.
Motivation and Context
Needed to test App.js and DailyReading.js
How Has This Been Tested?
Performed unit testing, including an async test in App.js.
In DailyReading I wanted to mock the card passed through props. I was unable to successfully mock the card.
Types of changes
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Checklist:
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.
Issues
Need to understand how or if props can be mocked within React testing.
Description
Motivation and Context
How Has This Been Tested?
Types of changes
Checklist:
Issues