dillon1000/react

Commit

Add Meta Matchers for Testing Tests

This adds a matcher called toEqualSpecsIn which executes two test suites,
without reporting the result. It then compares the specs and the number
of expects executed by each spec.

This will be used to ensure that tests written in other languages test the
same thing as the base line, ES6 classes.

Sets up CoffeeScript equivalence test.
Browse files
Changed paths3 files
First-parent comparison
A src/modern/class/__tests__/ReactClassEquivalence-test.js AddedA src/test/MetaMatchers.js AddedA src/test/__tests__/MetaMatchers-test.js Added
Patch

Files changed

Rendering syntax-highlighted changes…