Since implementations like rsvp.js resolve asynchronously they are able to pass the test as it currently stands.When the test looks like this rsvp.js fails.
var p = fulfilled(sentinel)
setTimeout(function(){
p.then(function (value) {
assert.strictEqual(value, sentinel);
done();
});
}, 100)
Since implementations like rsvp.js resolve asynchronously they are able to pass the test as it currently stands.When the test looks like this rsvp.js fails.