mirror of
https://github.com/oceanprotocol/commons.git
synced 2023-03-15 18:03:00 +01:00
26 lines
551 B
TypeScript
26 lines
551 B
TypeScript
|
const oceanMock = {
|
||
|
ocean: {
|
||
|
accounts: {
|
||
|
list: () => ['xxx', 'xxx']
|
||
|
},
|
||
|
aquarius: {
|
||
|
queryMetadata: () => {
|
||
|
return {
|
||
|
results: [],
|
||
|
totalResults: 1,
|
||
|
totalPages: 1
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
keeper: {
|
||
|
conditions: {
|
||
|
accessSecretStoreCondition: {
|
||
|
getGrantedDidByConsumer: jest.fn()
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
export default oceanMock
|