mirror of
https://github.com/oceanprotocol-archive/squid-js.git
synced 2024-02-02 15:31:51 +01:00
21 lines
517 B
TypeScript
21 lines
517 B
TypeScript
import * as assert from "assert"
|
|
import ConfigProvider from "../../src/ConfigProvider"
|
|
import ContractHandler from "../../src/keeper/ContractHandler"
|
|
import config from "../config"
|
|
|
|
before(async () => {
|
|
ConfigProvider.configure(config)
|
|
await ContractHandler.deployContracts()
|
|
})
|
|
|
|
describe("ContractHandler", () => {
|
|
|
|
describe("#get()", () => {
|
|
|
|
it("should load and get OceanToken correctly", async () => {
|
|
assert(await ContractHandler.get("OceanToken") !== null)
|
|
})
|
|
|
|
})
|
|
})
|