This file (357B) exceeds the allowed full mode (48 kb) size. The editor full height 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.
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)
})
})
| / | Focus search |
| ? | Show this help |
| Esc | Unfocus input |