babel-plugin-autotest
v0.3.1
Published
[](https://travis-ci.org/lttb/babel-plugin-autotest) [
/**
* .myClassName > [data-czczx]
*/
console.log(get`.myClassName > ${MyButton}`)How it works
This plugin tries to find all React Component declarations and to add data-{hash} attribute with the uniq hash-id to the Component's root node. It also saves this hash as the static property for the Component, so get function uses this property to build a selector.
