Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 513 Bytes

Test.md

File metadata and controls

16 lines (11 loc) · 513 Bytes

Running the tests

We are using Jest with Enzyme for running our tests.

Jest is an open JavaScript testing library from Facebook. Its slogan is "Delightful JavaScript Testing". While Jest can be used to test any JavaScript library, it shines when it comes to React.

  • Automatically finds tests
  • Automatically mocks dependencies
  • Runs your tests with a fake DOM implementation
  • Runs tests in parallel processes

We can use the below yarn command to execute unit test cases in jest

yarn run test