jasmine tests setup

This commit is contained in:
Athou
2013-04-12 15:40:55 +02:00
parent 9f830e0d21
commit 6e446fe55c
2 changed files with 30 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
describe("A suite", function() {
it("contains spec with an expectation", function() {
expect(true).toBe(true);
});
});
describe("A suite is just a function", function() {
var a;
it("and so is a spec", function() {
a = true;
expect(a).toBe(true);
});
});