1
0
mirror of https://github.com/oceanprotocol-archive/squid-js.git synced 2024-02-02 15:31:51 +01:00
This commit is contained in:
Bill Barman 2018-11-23 09:30:44 +08:00
parent 8f06754880
commit 423e83d4eb

View File

@ -93,12 +93,12 @@ describe("libDDO", () => {
}
const publicKey = ddo.getPublicKey(4)
assert(publicKey)
const publicKeyId = ddo.getPublicKey(did + "#keys=5")
assert(publicKeyId)
assert(publicKeyId.id == publicKey.id)
assert(publicKeyId.id === publicKey.id)
})
it("should find a service in the ddo", async () => {
const ddo = new DDO(jsonDDO)
assert(ddo)