import {assert} from 'chai';

async function asyncTimeout(delay = 10) {
  return new Promise((resolve) => {
    setTimeout(() => resolve('OK'), delay);
  });
}

describe('ES2017', () => {
  it('async functions', async () => {
    assert.equal(await asyncTimeout(), 'OK');
  });
});

@@ -181,16 +181,107 @@
 () =%3E %7B%0A
+  // mocha automatically awaits the async code and does the try catch around it. WIN!11!!1%0A
   it('as

Update es2017.test.js