【发布时间】:2012-03-26 06:32:26
【问题描述】:
如何在不使用 runs/waitsFor 块的情况下通过此测试?
it("cannot change timeout", function(done) {
request("http://localhost:3000/hello", function(error, response, body){
expect(body).toEqual("hello world");
done();
});
});
【问题讨论】: