Skip to content
This repository was archived by the owner on Apr 9, 2019. It is now read-only.

Commit 5e28d14

Browse files
committed
Make stub a const
1 parent 045c527 commit 5e28d14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/navigation-controller.spec.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -677,7 +677,7 @@ describe('NavigationController', () => {
677677
didShow: sinon.spy()
678678
}
679679
}
680-
var stub = sinon.stub(controller, '__transitionViews', (options) => {
680+
const stub = sinon.stub(controller, '__transitionViews', (options) => {
681681
let prevView = controller.refs['view-0'];
682682
if (prevView) {
683683
prevView.navigationControllerWillHideView = e.prevView.willHide;

0 commit comments

Comments
 (0)