Skip to content

Commit d3d7ddd

Browse files
authored
Merge pull request react-bootstrap#5265 from kyletsang/test/fix-carousel-interval
test(Carousel): Fix test failure
2 parents 5c21cc2 + 469b235 commit d3d7ddd

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test/CarouselSpec.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,11 @@ describe('<Carousel>', () => {
128128
}
129129

130130
const wrapper = mount(
131-
<Carousel defaultActiveIndex={1} {...{ [eventName]: onEvent }}>
131+
<Carousel
132+
defaultActiveIndex={1}
133+
interval={null}
134+
{...{ [eventName]: onEvent }}
135+
>
132136
{items}
133137
</Carousel>,
134138
);

0 commit comments

Comments
 (0)