I have a template:
<a {{action 'delete'}} data-test={{hook 'delete' id=thing.id}}>
and a test
import { click } from 'ember-native-dom-helpers'
...
await click(hook('delete', { id: thing.id }))
With that, the action never fires. If I change the template to
<a onclick={{action 'delete'}} data-test={{hook 'delete' id=thing.id}}>
everything works as expected.
If this is expected behavior, it would be nice to have it in the README. If it's unexpected, I may be able to create a reproduction to help solve it.
I have a template:
and a test
With that, the action never fires. If I change the template to
everything works as expected.
If this is expected behavior, it would be nice to have it in the README. If it's unexpected, I may be able to create a reproduction to help solve it.