From 0448a0fc06745ef11c137ab2f3bfd820a86d9e10 Mon Sep 17 00:00:00 2001 From: afc163 Date: Sun, 11 Aug 2019 19:22:45 +0800 Subject: [PATCH] :white_check_mark: Remove jest.runAllTimers --- components/carousel/__tests__/index.test.js | 1 - 1 file changed, 1 deletion(-) diff --git a/components/carousel/__tests__/index.test.js b/components/carousel/__tests__/index.test.js index cd902a48d7..e1e27fadbc 100644 --- a/components/carousel/__tests__/index.test.js +++ b/components/carousel/__tests__/index.test.js @@ -121,7 +121,6 @@ describe('Carousel', () => { children: [
,
,
], }); wrapper.update(); - jest.runAllTimers(); expect( wrapper .find('.slick-dots li')