In the project directory, run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Builds the app for production to the build
folder.
More tests I would include in the future would be:
- testing scenarios on when the save button should be enabled/disabled in add blog based on required fields
- testing that the api is called when save button is clicked
- testing that the api is called for deleting when delete button is clicked
- testing loading state in necessary components
- testing error state in necessary components
- testing pop up is closed once blog is added
- testing that user is return to main page if deleting blog post