Skip to content

Commit

Permalink
chore: Linting.
Browse files Browse the repository at this point in the history
  • Loading branch information
haydenyoung committed Dec 12, 2023
1 parent b319319 commit 1cee5ed
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/orbitdb.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,22 @@ import * as IPFS from 'ipfs-core'

describe('Use DID Identity Provider with OrbitDB', function () {
this.timeout(10000)

const didStr = 'did:key:z6MkpnTJwrrVuphNh1uKb5DB7eRxvqniVaSDUHU6jtGVmn3r'

let ipfs
let orbitdb
let didProvider
let provider

beforeEach(async () => {
ipfs = await IPFS.create({})

const seed = new Uint8Array([157, 94, 116, 198, 19, 248, 93, 239, 173, 82, 245, 222, 199, 7, 183, 177, 123, 238, 83, 240, 143, 188, 87, 191, 33, 95, 58, 136, 46, 218, 219, 245])

OrbitDBIdentityProviderDID.setDIDResolver(KeyDidResolver.getResolver())
useIdentityProvider(OrbitDBIdentityProviderDID)

didProvider = new Ed25519Provider(seed)
provider = OrbitDBIdentityProviderDID({ didProvider })
})
Expand Down

0 comments on commit 1cee5ed

Please sign in to comment.