Last active
January 25, 2019 16:47
-
-
Save vatson/efb2da9ee8a0838674eb709cf142929e to your computer and use it in GitHub Desktop.
test.js
This file contains hidden or 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
let myRandomNumber | |
before(async() => { | |
myRandomNumber = await new Promise((res, rej) => { | |
setTimeout(_ => res(Math.random()), 1500) | |
}) | |
describe('shame on mocha', () => { | |
it(`my rand is ${myRandomNumber}`) | |
}) | |
}) | |
it('') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment