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

Creating an asynchronous component test with mocha/chai

$
0
0

@dfalling wrote:

I'm trying to figure out the proper way to make a component integration test that involves asynchronous behavior. I seem to bounce back and forth between "calling set on a destroyed object" and "wrap asynchronous behavior in a run". Here's a Twiddle of it working in QUnit, but in Mocha the assertions are run before the promise resolves.

Any pointers? Thanks!

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4836

Trending Articles