mirror of
https://github.com/oceanprotocol-archive/squid-js.git
synced 2024-02-02 15:31:51 +01:00
18 lines
385 B
TypeScript
18 lines
385 B
TypeScript
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 ""
|
|
},
|
|
}
|
|
}
|
|
}
|