test: component description conformance test#400
Conversation
abb8135 to
25b312d
Compare
package.json
Outdated
There was a problem hiding this comment.
This change was required to run jest's watch and gulp's doc watch commands in parallel. The watchers never exit so they cannot be started in series.
547947f to
1d5b3e8
Compare
Codecov Report
@@ Coverage Diff @@
## master #400 +/- ##
=======================================
Coverage 91.76% 91.76%
=======================================
Files 41 41
Lines 1324 1324
Branches 168 168
=======================================
Hits 1215 1215
Misses 105 105
Partials 4 4
Continue to review full report at Codecov.
|
miroslavstastny
left a comment
There was a problem hiding this comment.
Review+ on the changes, but I am not approving as I made changes as well.
| } | ||
|
|
||
| /** | ||
| * A single radio with a radio group. |
There was a problem hiding this comment.
'A single radio within a radio group.' might be better description
mnajdova
left a comment
There was a problem hiding this comment.
Approved with one suggestion for consideration in the RadioGroupItem's description.
This PR adds a failing conformance test for missing component descriptions. It also attempts to add some heuristics around detecting an unhelpful component description.
Workflow changes
Watch and rebuild component info JSON files during tests. This enables changes to doc info, like descriptions, to be picked up and tested between tests. Specifically, conformance tests can now be run in watch mode and successfully pick up on changes to documentation concerns.
Tests added