This file ( 357B ) exceeds the allowed full mode (48 kb) size.
The editor full hight is disabled, only scrolling is allowed..
If you wish to edit a file, it is recommended to use the scroll mode as some users do not like the full height
mode, although some users like it.
const should = require('should');
describe('async/await', async function() {
it('main', async () => {
const asyncFunc = async () => {
return new Promise((resolve) => {
setTimeout(() => resolve(true), 750);
})
}
let result = await asyncFunc();
should.equal(result, true)
})
})