@sharyn/testing
[![npm](https://img.shields.io/npm/v/@sharyn/testing.svg)](https://www.npmjs.com/package/@sharyn/testing)
Last updated 2 years ago by sharyn .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install @sharyn/testing 
SYNC missed versions from official npm registry.

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

Current Tags

  • 2.0.4                                ...           latest (2 years ago)

10 Versions

  • 2.0.4                                ...           2 years ago
  • 2.0.3                                ...           2 years ago
  • 2.0.2                                ...           2 years ago
  • 2.0.1                                ...           2 years ago
  • 2.0.0                                ...           2 years ago
  • 1.1.2                                ...           2 years ago
  • 1.1.1                                ...           2 years ago
  • 1.1.0                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
  • 0.0.1                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 0
Last Month 4
Dependencies (1)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |