README
🌹 @sharyn/testing
This package provides testing helpers.
🌹 Install
yarn add --dev @sharyn/testing
🌹 Usage
sel
A short helper to target data-test
attributes with a selector.
import { sel } from '@sharyn/testing'
console.log(sel('hey')) // '[data-test="hey"]'
expect(page).toClick(sel('submit-button'))