A collection of test utilities for web applications.
Takes in a string argument of your qa selector and returns a CSS selector.
Example return value:
[data-qa="get-react-component__works"]
Takes in a string argument of your qa tag and returns an object to add to your React component.
Example return value:
{ 'data-qa': 'get-react-component__works' }
Example usage:
<SomeComponent {...qa('get-react-component__works')} />