Skip to content

Latest commit

 

History

History
21 lines (11 loc) · 549 Bytes

README.md

File metadata and controls

21 lines (11 loc) · 549 Bytes

What

This project shows some sample tests for the presentation in React Chicago to write in react.

How

  1. Install needed packages with with npm i

  2. run all tests using npm test

  3. run one test using npm test -- [file-path]

for example you can run npm test -- ./src/snippets/MyApp-V1/MyApp-clean.test.js from this directory

  1. edit the tests and rerun them

Notes:

The test ./src/snippets/second-example-failing-test.test.js should fail. Make it look like ./src/snippets/first-example.test.js to make it pass.