export boolean Test.testing

This commit is contained in:
ansuz 2017-06-01 10:23:24 +02:00
parent 50082cfd19
commit 07279c8dc7
1 changed files with 4 additions and 1 deletions

View File

@ -52,6 +52,7 @@ define([], function () {
});
};
out = function (f) { f(); };
out.testing = true;
out.passed = function () {
cpt.data.push({
type: 'report',
@ -67,6 +68,8 @@ define([], function () {
error: { message: e.message, stack: e.stack }
});
};
} else {
out.testing = false;
}
return out;
});
});