react-download-link
react-download-link copied to clipboard
Add role and testId properties to ease testing with libraries like testing-library
In order to make this component easy to test with libraries like @testing-library we need to introduce support for role and data-testid properties (at least).
Also introduced some unit test to double check these changes (using jest). Also upgraded babel lib to latest.
NOTE: if needed, I can split this in 2 different PR's. One to upgrade babel and another one for the introduction of the actual props.