Closed dorajistyle closed 11 years ago
The error happened when I was trying Testing Ajax section in document below. http://docs.busterjs.org/en/latest/overview/?highlight=fakeserver#testing-ajax
this.server = this.fakeServer.create();
Basic testing works well likes below.
"sum testing": function() { assert.equals(utils.sum(3,1),4); }
What's the context you called this in (i.e. from which function did you call it)?
That issue is a duplicate of issue #73.
The error happened when I was trying Testing Ajax section in document below. http://docs.busterjs.org/en/latest/overview/?highlight=fakeserver#testing-ajax
this.server = this.fakeServer.create();
Basic testing works well likes below.
"sum testing": function() { assert.equals(utils.sum(3,1),4); }