Hi:
I'm getting timeout exception while running a qunit test case using Chutzpah.
This test case ran to success if I use a test runner HTML file:
Issue Description:
I have to test a function that contains an AJAX call
my ajax function
myFunction(params, successCallbackfunction){
//ajax call other steps avoided
success: function(data){
//some data processing
if(successCallbackfunction){
successCallbackfunction();
}
}
}
Qunit test case:
test("testAJAX",function(){
stop();
myFunction(params, function(){
start();
//assertion
expect(1);
});
});
Chutzpah: Version: 2.3.0
Comments: Hi Matt: Could you please let me know, do you have a solution for this issue?
I'm getting timeout exception while running a qunit test case using Chutzpah.
This test case ran to success if I use a test runner HTML file:
Issue Description:
I have to test a function that contains an AJAX call
my ajax function
myFunction(params, successCallbackfunction){
//ajax call other steps avoided
success: function(data){
//some data processing
if(successCallbackfunction){
successCallbackfunction();
}
}
}
Qunit test case:
test("testAJAX",function(){
stop();
myFunction(params, function(){
start();
//assertion
expect(1);
});
});
Chutzpah: Version: 2.3.0
Comments: Hi Matt: Could you please let me know, do you have a solution for this issue?