Bug 1310408 - Add a mochitest for batched consoleAPI calls. r=linclark;
MozReview-Commit-ID: HQTjOSDLMnN
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user