Home

Awesome

template-rmd

A react-md template that I use when spinning up new projects.

Commands

Testing

# run all tests
yarn test

# run all tests and display code coverage
yarn test --coverage

# run tests in watch mode
yarn test --watch

Testing libraries included:

Use the render from src/test-utils.tsx instead of the one from @testing-library/react since it'll wrap the test in all the require context providers.

Cypress Testing

TODO: Complete this section.

Cypress Typescript setup

yarn add --dev cypress @testing-library/cypress
yarn cypress open

Github Actions

Git Tags

New tags will be created after a new react-md version or when a major change happens in the repo. The tags can be used to see a diff of changes by using the "compare" view after viewing a specific tag.