14 lines
314 B
TypeScript
14 lines
314 B
TypeScript
import "typings-test";
|
|
import early = require("../dist/index");
|
|
|
|
describe("early",function(){
|
|
it(".start()",function(done){
|
|
this.timeout(10000);
|
|
early.start("early");
|
|
setTimeout(done,5000);
|
|
});
|
|
it(".stop()",function(done){
|
|
early.stop()
|
|
.then(done);
|
|
})
|
|
}) |