From 7d7e4651340757b0926c3fce026a0d0a4b5726b7 Mon Sep 17 00:00:00 2001 From: Matthew Smith Date: Fri, 27 Mar 2015 12:21:52 -0600 Subject: [PATCH] Fix merge errors --- test/CarouselSpec.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/test/CarouselSpec.js b/test/CarouselSpec.js index 978f636304..b21af0bb35 100644 --- a/test/CarouselSpec.js +++ b/test/CarouselSpec.js @@ -73,14 +73,14 @@ describe('Carousel', function () { }); it('Should show all controls on the first/last image if wrap is true', function () { - var instance = ReactTestUtils.renderIntoDocument( + let instance = ReactTestUtils.renderIntoDocument( Item 1 content Item 2 content ); - var backButton = ReactTestUtils.findRenderedDOMComponentWithClass(instance, 'left'); + let backButton = ReactTestUtils.findRenderedDOMComponentWithClass(instance, 'left'); assert.ok(backButton); assert.equal(backButton.props.href, '#prev'); @@ -92,22 +92,22 @@ describe('Carousel', function () { ); - var nextButton = ReactTestUtils.findRenderedDOMComponentWithClass(instance, 'right'); + let nextButton = ReactTestUtils.findRenderedDOMComponentWithClass(instance, 'right'); assert.ok(nextButton); assert.equal(nextButton.props.href, '#next'); }); it('Should not show the prev button on the first image if wrap is false', function () { - var instance = ReactTestUtils.renderIntoDocument( + let instance = ReactTestUtils.renderIntoDocument( Item 1 content Item 2 content ); - var backButtons = ReactTestUtils.scryRenderedDOMComponentsWithClass(instance, 'left'); - var nextButtons = ReactTestUtils.scryRenderedDOMComponentsWithClass(instance, 'right'); + let backButtons = ReactTestUtils.scryRenderedDOMComponentsWithClass(instance, 'left'); + let nextButtons = ReactTestUtils.scryRenderedDOMComponentsWithClass(instance, 'right'); assert.equal(backButtons.length, 0); assert.equal(nextButtons.length, 1);