@swrve/test-helpers
v0.1.4
Published
A set of useful test helper functions
Downloads
7
Maintainers
Keywords
Readme
Test Helpers
This is a collection of test helpers.
React testing library
findByAutoTag Find item via its data-automation tag
const submit = findByAutoTag(container, 'sw-channel-content-continue')
clickAutoTag Find item via its data-automation tag and click it
const submit = clickItem(container, 'sw-channel-content-continue')