early/test/test.ts

13 lines
316 B
TypeScript
Raw Permalink Normal View History

2016-05-20 17:06:25 +00:00
/// <reference path="../ts/typings/index.d.ts" />
import early = require("../dist/index.js");
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);
});
it(".stop()",function(){
early.stop();
})
})