codeql-action/node_modules/@concordance/react
2020-06-24 14:33:14 +01:00
..
lib replace jest with ava 2020-05-13 11:13:27 +01:00
node_modules/arrify Run npm install so have clear baseline 2020-06-24 14:33:14 +01:00
index.js replace jest with ava 2020-05-13 11:13:27 +01:00
LICENSE replace jest with ava 2020-05-13 11:13:27 +01:00
package.json Run npm install so have clear baseline 2020-06-24 14:33:14 +01:00
README.md replace jest with ava 2020-05-13 11:13:27 +01:00

@concordance/react

React plugin for Concordance.

Allows React.createElement() objects to be compared, formatted, diffed and serialized. Also supports toJSON() renderings of react-test-renderer. These may be compared to React.createElement() objects.

When comparing React component elements, the element type is compared by identity. After deserialization the element types are compared by function name.

Component elements are formatted with a ⍟ character after the element name. Properties and children are formatted by Concordance.