1
0
mirror of https://github.com/oceanprotocol-archive/squid-js.git synced 2024-02-02 15:31:51 +01:00

added reference to the secret store lib ultra-wip

This commit is contained in:
Sebastian Gerske 2018-10-18 16:03:26 +02:00
parent 7d4df0acc0
commit 62e54032fb
2 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,8 @@
import SecretStoreDocumentHandler from "@oceanprotocol/secret-store-client"
export default class SecretStore {
public test() {
return new SecretStoreDocumentHandler()
}
}

View File

@ -0,0 +1,13 @@
import {assert} from "chai"
import SecretStore from "../../src/secretstore/SecretStore"
describe("SecretStore", () => {
describe("#test()", () => {
it("should return instance", () => {
const fu = new SecretStore().test()
assert(fu)
})
})
})