export boolean Test.testing
This commit is contained in:
parent
50082cfd19
commit
07279c8dc7
@ -52,6 +52,7 @@ define([], function () {
|
|||||||
});
|
});
|
||||||
};
|
};
|
||||||
out = function (f) { f(); };
|
out = function (f) { f(); };
|
||||||
|
out.testing = true;
|
||||||
out.passed = function () {
|
out.passed = function () {
|
||||||
cpt.data.push({
|
cpt.data.push({
|
||||||
type: 'report',
|
type: 'report',
|
||||||
@ -67,6 +68,8 @@ define([], function () {
|
|||||||
error: { message: e.message, stack: e.stack }
|
error: { message: e.message, stack: e.stack }
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
} else {
|
||||||
|
out.testing = false;
|
||||||
}
|
}
|
||||||
return out;
|
return out;
|
||||||
});
|
});
|
||||||
Loading…
x
Reference in New Issue
Block a user