mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-01-31 19:54:35 +03:00
remove unnecessary spy
This commit is contained in:
parent
2486ca710e
commit
3706c3b937
|
@ -384,7 +384,6 @@ describe('instrument', () => {
|
|||
});
|
||||
|
||||
it('should update currentStateIndex when auto-committing', () => {
|
||||
let spy = spyOn(console, 'error');
|
||||
let liftedStoreState;
|
||||
let currentComputedState;
|
||||
|
||||
|
@ -399,8 +398,6 @@ describe('instrument', () => {
|
|||
currentComputedState = liftedStoreState.computedStates[liftedStoreState.currentStateIndex];
|
||||
expect(liftedStoreState.currentStateIndex).toBe(2);
|
||||
expect(currentComputedState.state).toBe(3);
|
||||
|
||||
spy.restore();
|
||||
});
|
||||
|
||||
it('should continue to increment currentStateIndex while error blocks commit', () => {
|
||||
|
|
Loading…
Reference in New Issue
Block a user