this is an organization chart UI for the training project
Below is the official docs for Typescript: https://www.typescriptlang.org/docs/
This link contains some of the recommended practices for React with Typescript: https://www.sitepoint.com/react-with-typescript-best-practices/
Yarn is the main tool for build & dependency management. You will be able to run yarn commands in the root of this project.
yarn install
- Installs all the dependencies defined in the package.jsonyarn start
- Starts the webpack dev server and hosts the application locally athttp://localhost:3000
yarn jest
- Runs the Jest Unit Testsyarn cypress
- Opens the Cypress Test Runner toolyarn cypress:run
- Runs the Cypress Tests headlessly &yarn test
- Runs both the Jest and headless Cypress Tests
After running yarn test
a report is generated in the coverage
folder. This is a combined code coverage report of both the Jest and Cypress tests.