tes
@sharyn/testing
npm i @sharyn/testing
tes

@sharyn/testing

🌹 Sharyn – A collection of JavaScript / TypeScript packages that make your life easier and reduce your boilerplate code

by Sharyn

2.0.4 (see all)License:MITTypeScript:Not Found
npm i @sharyn/testing
Readme

🌹 @sharyn/testing

npm

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'))

Downloads/wk

0

GitHub Stars

30

LAST COMMIT

5mos ago

MAINTAINERS

1

CONTRIBUTORS

3

OPEN ISSUES

6

OPEN PRs

0
VersionTagPublished
2.0.4
latest
4yrs ago
No alternatives found
No tutorials found
Add a tutorial

Rate & Review

100
No reviews found
Be the first to rate