afc163
5 years ago
No known key found for this signature in database
GPG Key ID: 738F973FCE5C6B48
1 changed files with
2 additions and
2 deletions
-
components/carousel/__tests__/index.test.js
|
|
@ -3,11 +3,11 @@ import { mount } from 'enzyme'; |
|
|
|
import Carousel from '..'; |
|
|
|
|
|
|
|
describe('Carousel', () => { |
|
|
|
beforeAll(() => { |
|
|
|
beforeEach(() => { |
|
|
|
jest.useFakeTimers(); |
|
|
|
}); |
|
|
|
|
|
|
|
afterAll(() => { |
|
|
|
afterEach(() => { |
|
|
|
jest.useRealTimers(); |
|
|
|
}); |
|
|
|
|
|
|
|