Created
September 18, 2017 20:22
-
-
Save plasticrake/71e6a69de1c9bf8d8234ab597cde6a77 to your computer and use it in GitHub Desktop.
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
'use strict'; | |
function getAsyncTests () { | |
return new Promise((resolve, reject) => { | |
setTimeout(resolve, 1); | |
}); | |
} | |
(async () => { | |
let tests = await getAsyncTests(); | |
describe('Async Mocha', function () { | |
describe('Will it grep1?', function () { | |
it('it grepped1!', function () { | |
}); | |
}); | |
}); | |
run(); | |
})(); |
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
'use strict'; | |
function getAsyncTests () { | |
return new Promise((resolve, reject) => { | |
setTimeout(resolve, 1); | |
}); | |
} | |
(async () => { | |
let tests = await getAsyncTests(); | |
describe('Async Mocha', function () { | |
describe('Will it grep2?', function () { | |
it('it grepped2!', function () { | |
}); | |
}); | |
}); | |
run(); | |
})(); |
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
'use strict'; | |
describe('Sync Mocha', function () { | |
describe('Will it grep3?', function () { | |
it('it grepped3!', function () { | |
}); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment