test/asserttest.js
import './support';
function delay(ms) {
return new Promise((resolve) => {
setTimeout(resolve, ms);
});
}
describe('The test runner', function() {
it('should pass this test', async function() {
await delay(1000);
expect(true).to.be.ok;
});
});