Skip to content

Auti0/unit-test-examples

 
 

Repository files navigation

Unit Test Examples

Originally forked from https://github.com/tfrommen/unit-test-examples

Using this repo to test various code coverage and static code analyzers such as coveralls, codecov, sonarqube, etc.

Getting Started

Install with Yarn:

yarn
yarn test

or

npm ci
npm run-script test

Writing Tests

The repository is set up for you to write JavaScript tests with Jest.

JavaScript Tests

In order to run the JavaScript tests, you have to install the required JavaScript packages first.

Install with Yarn:

yarn test

or

npm run-script test

By default, this will install Jest (inlcuding jest-each), react-test-renderer and Enzyme


License

Copyright (c) 2018 Thorsten Frommen

This code is licensed under the MIT License.

About

Example code for my talks and workshops on unit testing.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 100.0%