Skip to content

Instantly share code, notes, and snippets.

View jeantoledo's full-sized avatar
:octocat:
coding...

Jean Toledo jeantoledo

:octocat:
coding...
View GitHub Profile
@jeantoledo
jeantoledo / jest_async.js
Created October 12, 2017 13:54
Jest API - Testing async code
test('Testing async code', done => { // Will wait for done call to end the test
done(); // call done inside async callbacks
});
const examplePromisse = new Promise((resolve, reject) => {
resolve(1);
});
test('Testing Promisses', () => {
return examplePromisse.then(data => {
@jeantoledo
jeantoledo / gist:56339dd2413e96c25db4d699bc655d2b
Created October 9, 2017 03:15 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue: