Refactored and fixed test suite to run async tests

This commit is contained in:
Jörn Zaefferer 2006-09-30 14:34:49 +00:00
parent cc5625067a
commit 308d771dd1
6 changed files with 43 additions and 5 deletions

View file

@ -50,8 +50,8 @@ function runTest(tests) {
}
function test(name, callback) {
Test = [];
synchronize(function() {
Test = [];
try {
callback();
} catch(e) {