Created
December 13, 2016 10:11
-
-
Save muromec/04db8fccee852a12cfde11516a936cd6 to your computer and use it in GitHub Desktop.
Why?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
describe('Jest', ()=> { | |
it('what', (done)=> { | |
Promise.resolve().then(()=> { | |
throw new Error('ya yaya'); | |
}).then(done, done); | |
}) | |
it('okay', ()=> { | |
return Promise.resolve().then(()=> { | |
throw new Error('ya yaya'); | |
}); | |
}) | |
it('well, really', (done)=> { | |
done(new Error('aaaa')); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment