Refactored and fixed test suite to run async tests
This commit is contained in:
parent
cc5625067a
commit
308d771dd1
6 changed files with 43 additions and 5 deletions
|
@ -50,8 +50,8 @@ function runTest(tests) {
|
|||
}
|
||||
|
||||
function test(name, callback) {
|
||||
Test = [];
|
||||
synchronize(function() {
|
||||
Test = [];
|
||||
try {
|
||||
callback();
|
||||
} catch(e) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue