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:
parent
7d4df0acc0
commit
62e54032fb
8
src/secretstore/SecretStore.ts
Normal file
8
src/secretstore/SecretStore.ts
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
import SecretStoreDocumentHandler from "@oceanprotocol/secret-store-client"
|
||||||
|
|
||||||
|
export default class SecretStore {
|
||||||
|
|
||||||
|
public test() {
|
||||||
|
return new SecretStoreDocumentHandler()
|
||||||
|
}
|
||||||
|
}
|
13
test/secretstore/SecretStore.test.ts
Normal file
13
test/secretstore/SecretStore.test.ts
Normal 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)
|
||||||
|
})
|
||||||
|
})
|
||||||
|
})
|
Loading…
Reference in New Issue
Block a user