@sharyn/testing
2.0.4 • Public • Published
🌹 @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'))
Versions
Current Tags
- VersionDownloads (Last 7 Days)
- 2.0.4
3
Version History
Package Sidebar
Install
Weekly Downloads