early/test/test.ts

14 lines
314 B
TypeScript
Raw Normal View History

2016-06-10 03:18:03 +00:00
import "typings-test";
import early = require("../dist/index");
2016-05-20 17:06:25 +00:00
describe("early",function(){
it(".start()",function(done){
this.timeout(10000);
2016-05-21 18:33:13 +00:00
early.start("early");
2016-05-20 17:06:25 +00:00
setTimeout(done,5000);
});
2016-06-11 21:47:52 +00:00
it(".stop()",function(done){
early.stop()
.then(done);
2016-05-20 17:06:25 +00:00
})
})