How the leading option can be changed dynamically?
AjaxSolutions opened this issue · comments
Les Szklanny commented
I'd like to use the leading: true
option while testing a component and leading: false
otherwise.
How can I do this?
Nik commented
I'm not sure I get you right. Do you mean unit testing or E2E tests?
Talking about E2E, you could do it by providing a prop to the component which will set a correct param