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