We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c85bf5 commit 95419a2Copy full SHA for 95419a2
src/useIonicHeaderParallax.spec.tsx
@@ -1,5 +1,5 @@
1
import * as React from 'react'
2
-import { render, } from '@testing-library/react/'
+import { render } from '@testing-library/react/'
3
import { useIonHeaderParallax } from './useIonicHeaderParallax'
4
import {
5
IonBackButton,
@@ -37,8 +37,6 @@ const Element: JSX.Element = (
37
)
38
39
describe('IonHeaderParallax', () => {
40
-
41
42
beforeEach(() => {
43
jest.useFakeTimers()
44
})
@@ -52,11 +50,9 @@ describe('IonHeaderParallax', () => {
52
50
expect(container).toBeTruthy()
53
51
54
55
56
// Running all pending timers and switching to real timers using Jest
57
afterEach(() => {
58
jest.runOnlyPendingTimers()
59
jest.useRealTimers()
60
61
62
0 commit comments