1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-11-15 09:44:53 +01:00
market/tests/unit/setupTests.ts

11 lines
222 B
TypeScript
Raw Normal View History

2020-05-07 08:03:30 +02:00
import '@testing-library/jest-dom/extend-expect'
if (typeof window.IntersectionObserver === 'undefined') {
import('intersection-observer')
}
2020-05-07 08:03:30 +02:00
beforeAll(() => {
require('./__mocks__/matchMedia')
jest.mock('web3')
})