Novice Prime Minister

    @sharyn/testing

    2.0.4 • Public • Published

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

    Keywords

    none

    Install

    npm i @sharyn/testing

    DownloadsWeekly Downloads

    0

    Version

    2.0.4

    License

    MIT

    Unpacked Size

    1.01 kB

    Total Files

    4

    Last publish

    Collaborators

    • sharyn