mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
21 lines
588 B
TypeScript
21 lines
588 B
TypeScript
|
import marketMetadata from '../__fixtures__/marketMetadata'
|
||
|
import userPreferences from '../__fixtures__/userPreferences'
|
||
|
import web3 from '../__fixtures__/web3'
|
||
|
import { asset } from '../__fixtures__/assetWithAccessDetails'
|
||
|
|
||
|
jest.mock('../../src/@context/MarketMetadata', () => ({
|
||
|
useMarketMetadata: () => marketMetadata
|
||
|
}))
|
||
|
|
||
|
jest.mock('../../src/@context/UserPreferences', () => ({
|
||
|
useUserPreferences: () => userPreferences
|
||
|
}))
|
||
|
|
||
|
jest.mock('../../src/@context/Web3', () => ({
|
||
|
useWeb3: () => web3
|
||
|
}))
|
||
|
|
||
|
jest.mock('../../../@context/Asset', () => ({
|
||
|
useAsset: () => ({ asset })
|
||
|
}))
|