183
rated 0 times
[
185]
[
2]
/ answers: 1 / hits: 31035
/ 12 Years ago, thu, march 8, 2012, 12:00:00
Suppose I have a function as follows
function fun1(a) {
var local_a = a;
local_a += 5;
return local_a/2;
}
Is there a way to test for the value of local_a being what it should be (for example in the first line of code)? I'm a bit new to Jasmine, so am stuck. Thanks in advance.
More From » jasmine