Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4836

Testing interim states with the latest test-helpers

$
0
0

@jgwhite wrote:

I’m sure it used to be possible to do something like this:

let promise = fillIn('.some-field', 'Some value');

assert.ok(someInterimState);

await promise;

// ...

But all the helpers in @ember/test-helpers appear to be wrapped in a nextTickPromise so nothing happens synchronously. Is there any way to achieve the above these days?

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4836

Trending Articles