Skip to content

Commit

Permalink
style: format code
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmnouira committed Aug 21, 2021
1 parent 6c85bf5 commit 95419a2
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/useIonicHeaderParallax.spec.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from 'react'
import { render, } from '@testing-library/react/'
import { render } from '@testing-library/react/'
import { useIonHeaderParallax } from './useIonicHeaderParallax'
import {
IonBackButton,
Expand Down Expand Up @@ -37,8 +37,6 @@ const Element: JSX.Element = (
)

describe('IonHeaderParallax', () => {


beforeEach(() => {
jest.useFakeTimers()
})
Expand All @@ -52,11 +50,9 @@ describe('IonHeaderParallax', () => {
expect(container).toBeTruthy()
})


// Running all pending timers and switching to real timers using Jest
afterEach(() => {
jest.runOnlyPendingTimers()
jest.useRealTimers()
})

})

0 comments on commit 95419a2

Please sign in to comment.