Skip to content
This repository has been archived by the owner on Aug 21, 2023. It is now read-only.

Commit

Permalink
Merge 1565343 into 47970a0
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon Quach committed Apr 17, 2019
2 parents 47970a0 + 1565343 commit 4d3ace4
Show file tree
Hide file tree
Showing 5 changed files with 634 additions and 442 deletions.
9 changes: 2 additions & 7 deletions config/jest/setupTests.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
import Enzyme from 'enzyme'
import Adapter from 'enzyme-adapter-react-16'
import { setupTests } from '@helpscout/cyan'

Enzyme.configure({ adapter: new Adapter() })

beforeEach(() => {
jest.spyOn(window, 'requestAnimationFrame').mockImplementation(cb => cb())
})

afterEach(() => {
window.requestAnimationFrame.mockRestore()
})
setupTests()

0 comments on commit 4d3ace4

Please sign in to comment.