mirror of
https://github.com/oceanprotocol-archive/squid-js.git
synced 2024-02-02 15:31:51 +01:00
optimize test
This commit is contained in:
parent
43119ed606
commit
8c4ba81589
|
@ -10,24 +10,27 @@ before(() => {
|
|||
|
||||
describe("Aquarius", () => {
|
||||
|
||||
describe("#queryMetadata()", async () => {
|
||||
describe("#queryMetadata()", () => {
|
||||
|
||||
const aquarius: Aquarius = new Aquarius(config)
|
||||
it("should query metadata", async () => {
|
||||
|
||||
const query = {
|
||||
offset: 100,
|
||||
page: 0,
|
||||
query: {
|
||||
value: 1,
|
||||
},
|
||||
sort: {
|
||||
value: 1,
|
||||
},
|
||||
text: "Office",
|
||||
}
|
||||
const aquarius: Aquarius = new Aquarius(config)
|
||||
|
||||
const query = {
|
||||
offset: 100,
|
||||
page: 0,
|
||||
query: {
|
||||
value: 1,
|
||||
},
|
||||
sort: {
|
||||
value: 1,
|
||||
},
|
||||
text: "Office",
|
||||
}
|
||||
|
||||
const result: any[] = await aquarius.queryMetadata(query)
|
||||
assert(result)
|
||||
})
|
||||
|
||||
const result: any[] = await aquarius.queryMetadata(query)
|
||||
assert(result)
|
||||
})
|
||||
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue
Block a user