dwf/rva: started suite testing.
This commit is contained in:
@@ -123,17 +123,31 @@ var it = function (description) {
|
||||
}
|
||||
|
||||
that.resetTimeout();
|
||||
|
||||
return that;
|
||||
}
|
||||
|
||||
that.runs = addToQueue;
|
||||
that.then = addToQueue;
|
||||
|
||||
currentSuite.tests.push(that);
|
||||
|
||||
|
||||
return that;
|
||||
}
|
||||
|
||||
|
||||
var currentSuite;
|
||||
|
||||
var describe = function (description, tests) {
|
||||
var that = {
|
||||
description: description,
|
||||
tests: []
|
||||
}
|
||||
currentSuite = that;
|
||||
tests();
|
||||
return that;
|
||||
}
|
||||
|
||||
/*
|
||||
* Jasmine constructor
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user