mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
jasmine tests setup
This commit is contained in:
15
src/test/javascript/specs/test.js
Normal file
15
src/test/javascript/specs/test.js
Normal 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);
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user