Bug 1310408 - Add a mochitest for batched consoleAPI calls. r=linclark;

MozReview-Commit-ID: HQTjOSDLMnN
This commit is contained in:
Nicolas Chevobbe
2016-10-15 12:50:38 +02:00
parent 7d21e1f32b
commit 3578952087
4 changed files with 103 additions and 0 deletions

View File

@@ -108,6 +108,10 @@ NewConsoleOutputWrapper.prototype = {
dispatchMessagesClear: function () {
store.dispatch(actions.messagesClear());
},
// Should be used for test purpose only.
getStore: function () {
return store;
}
};
function batchedMessageAdd(action) {