Example #1
0
 .then(val => {
   assert.equal(val, objectValue, 'can resolve to an object');
   return testHelpers.wait(RSVP.resolve(promiseObjectValue));
 })
Example #2
0
 testAdapter('errors in promise constructor', error => {
   RSVP.resolve().then(() => {
     throw error;
   });
 })