ember-test-waiters icon indicating copy to clipboard operation
ember-test-waiters copied to clipboard

`waiter.nextToken` needs to be added to the production Noop waiter

Open runspired opened this issue 2 years ago • 1 comments

the only way to pass a label to beginAsync is to also pass a token yourself, meaning:

waiter.beginAsync(waiter.nextToken(), myLabel)

in production builds this will throw because the no-op waiter does not stub this function

runspired avatar Oct 26 '23 19:10 runspired

any chance you'd be willing to add a separate test app here: https://github.com/emberjs/ember-test-waiters/tree/master/test-apps

that tests and asserts production behavior?

NullVoxPopuli avatar Dec 04 '23 15:12 NullVoxPopuli