Thanks for the tut! i was looking for a way to access an element by its data-* attribute in a test case and your article showed me the way to do just that i-e by using wrapper.find('[data-testid="todos"]').
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Thanks for the tut! i was looking for a way to access an element by its
data-*
attribute in a test case and your article showed me the way to do just that i-e by usingwrapper.find('[data-testid="todos"]')
.