mirror of
https://github.com/oceanprotocol-archive/squid-js.git
synced 2024-02-02 15:31:51 +01:00
fix tests
This commit is contained in:
parent
a3e55f7352
commit
78a8666176
@ -1,5 +1,4 @@
|
|||||||
import * as assert from "assert"
|
import * as assert from "assert"
|
||||||
import BigNumber from "bignumber.js"
|
|
||||||
import ContractHandler from "../../src/keeper/ContractHandler"
|
import ContractHandler from "../../src/keeper/ContractHandler"
|
||||||
import Keeper from "../../src/keeper/Keeper"
|
import Keeper from "../../src/keeper/Keeper"
|
||||||
import Web3Helper from "../../src/keeper/Web3Helper"
|
import Web3Helper from "../../src/keeper/Web3Helper"
|
||||||
|
@ -64,10 +64,6 @@ describe("Asset", () => {
|
|||||||
|
|
||||||
it("should return false on unknown asset", async () => {
|
it("should return false on unknown asset", async () => {
|
||||||
|
|
||||||
const account = new Account(keeper)
|
|
||||||
const accounts = await account.list()
|
|
||||||
const addr = accounts[0].name
|
|
||||||
|
|
||||||
const asset = new Asset(keeper)
|
const asset = new Asset(keeper)
|
||||||
|
|
||||||
const isAssetActive = await asset.isAssetActive("0x0000")
|
const isAssetActive = await asset.isAssetActive("0x0000")
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
"lib": [
|
"lib": [
|
||||||
"es6",
|
"es6",
|
||||||
"es7"
|
"es7"
|
||||||
]
|
],
|
||||||
|
"noUnusedLocals": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user