Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 1.02 KB

File metadata and controls

26 lines (19 loc) · 1.02 KB

Contributing

User-provided test cases

Just discovering and reporting an issue with rendering is a great contribution! These issues can include:

  • A missing feature
  • An unexpected output
  • An input that breaks parsing and rendering
  • And more!

A great way to help out, even if you don't intend to implement the changes yourself, is to provide a test case. This is done by adding an entry to feedback.test.js.

Just give your test a title (or pass an issue number to automatically generate a title), provide your input, and an expected output. Generally, the tests should be simple, as complex inputs/outputs with many elements would be difficult to write tests for. An example test case is provided in feedback.test.js.

When making a pull request to add your tests, please make sure that the tests are all for only one feature or bug. This allows contributors to focus on one task at a time when working to pass your tests.