Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jasmine sample code

describe("A suite is just a function", function() {
  var a;

  it("and so is a spec", function() {
    a = true;

    expect(a).toBe(true);
  });
});
Source by jasmine.github.io #
 
PREVIOUS NEXT
Tagged: #jasmine #sample #code
ADD COMMENT
Topic
Name
3+5 =