Skip to content

Latest commit

 

History

History
23 lines (13 loc) · 1.17 KB

CONTRIBUTING.md

File metadata and controls

23 lines (13 loc) · 1.17 KB

Contributing guide

First make sure you understand what these examples focus on. Then make the examples as concise as possible. Finally, try to communicate your intentions.

How to add a test

Here are the required steps for adding a foobar example in the jest-enzyme collection.

  • Put test(s) in tests/jest-enzyme/foobar/test.js
  • Put description in tests/jest-enzyme/foobar/README.md

Get inspired from existing examples.

How to add a test collection (ie. a new toolchain)

This one's a big deal so you want to start a conversation before jumping into it.

Copy one of the dirs from tests (eg. jest-rtl) to get started. You don't have to mirror tests from existing collections. At least one test example is enough to create a new collection.

A few more steps required before deploying a new collection:

  • Add a label here
  • Add test commands here