Skip to content

Commit e63f47a

Browse files
committed
renon console.error stub in test
1 parent a9115aa commit e63f47a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/index.js

+1
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ test("should not error when state is properly updated", function(assert) {
6060
var consoleError = sinon.stub(console, "error");
6161
var actionHandler = unhandledAction()({getState: getState})(next)(action);
6262
assert.notOk(consoleError.called, "console error is not logged when a new state is returned");
63+
consoleError.restore();
6364
assert.end();
6465
});
6566

0 commit comments

Comments
 (0)