Skip to content

Commit

Permalink
fix(app): Tip probe clears labware calibration progress (#1634)
Browse files Browse the repository at this point in the history
closes #1620
  • Loading branch information
Kadee80 authored Jun 7, 2018
1 parent 35e50cb commit 9d216a4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion app/src/robot/reducer/calibration.js
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,8 @@ function handleProbeTipResponse (state: State, action: any) {
error: error
? payload
: null
}
},
confirmedBySlot: {}
}
}

Expand Down
6 changes: 4 additions & 2 deletions app/src/robot/test/calibration-reducer.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -413,15 +413,17 @@ describe('robot reducer - calibration', () => {
mount: 'right',
inProgress: false,
error: null
}
},
confirmedBySlot: {}
})
expect(reducer(state, failure).calibration).toEqual({
calibrationRequest: {
type: 'PROBE_TIP',
mount: 'right',
inProgress: false,
error: new Error('AH')
}
},
confirmedBySlot: {}
})
})

Expand Down

0 comments on commit 9d216a4

Please sign in to comment.