atcheck/lsscanner/new_ubuntu/node_modules/spawn-rx/test/asserttest.ts

16 lines
307 B
TypeScript
Raw Normal View History

2019-12-16 18:42:21 +01:00
import { expect } from 'chai';
import './support';
function delay(ms: number) {
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;
});
});