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

11 lines
222 B
TypeScript

import '@testing-library/jest-dom/extend-expect'
if (typeof window.IntersectionObserver === 'undefined') {
import('intersection-observer')
}
beforeAll(() => {
require('./__mocks__/matchMedia')
jest.mock('web3')
})