Skip to content

Commit 3706c3b

Browse files
committed
remove unnecessary spy
1 parent 2486ca7 commit 3706c3b

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

test/instrument.spec.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,6 @@ describe('instrument', () => {
384384
});
385385

386386
it('should update currentStateIndex when auto-committing', () => {
387-
let spy = spyOn(console, 'error');
388387
let liftedStoreState;
389388
let currentComputedState;
390389

@@ -399,8 +398,6 @@ describe('instrument', () => {
399398
currentComputedState = liftedStoreState.computedStates[liftedStoreState.currentStateIndex];
400399
expect(liftedStoreState.currentStateIndex).toBe(2);
401400
expect(currentComputedState.state).toBe(3);
402-
403-
spy.restore();
404401
});
405402

406403
it('should continue to increment currentStateIndex while error blocks commit', () => {

0 commit comments

Comments
 (0)