Shallow-Testing React 16
Sample code for a blog post about testing Contexts and Hooks with
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Run prettier and auto-format all the code.
Build a prod version to the build directory.
Deploy the build directory to surge.