1
0
mirror of https://github.com/oceanprotocol-archive/squid-js.git synced 2024-02-02 15:31:51 +01:00
squid-js/test/mocks/AquariusConnector.mock.ts

18 lines
385 B
TypeScript
Raw Normal View History

2018-10-26 11:57:26 +02:00
import AquariusConnector from "../../src/aquarius/AquariusConnector"
export default class AquariusConnectorMock extends AquariusConnector {
public async post(url: string, payload: any) {
return {
ok: true,
json: () => {
return []
},
text: () => {
return ""
},
}
}
}