javascript - Checking variable value with Jasmine -
how can check variable value jasmine? imagine example have function:
function mytestfunction(){ var z = 100; }
how can test jasmine if value of variable "z" 100?
something like:
describe("test 1", function () { beforeeach(function () { setuphtmlfixture(); $('#show').trigger("onmouseover"); }); it("check if value contains 100", function () { expect($(var z)).toequal("100"); }); });
Comments
Post a Comment