Skip to content

Commit

Permalink
chore: remove failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
Gozala committed Dec 2, 2022
1 parent 842db38 commit a0f6bcf
Showing 1 changed file with 0 additions and 33 deletions.
33 changes: 0 additions & 33 deletions packages/server/test/server.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -272,36 +272,3 @@ test('execution error', async () => {
},
})
})

test('did:web server', async () => {
const car = await CAR.codec.write({
roots: [await CBOR.codec.write({ hello: 'world ' })],
})

const server = Server.create({
service: Service.create(),
decoder: CAR,
encoder: CBOR,
id: w3.withDID('did:web:web3.storage'),
})

const connection = Client.connect({
id: server.id,
encoder: CAR,
decoder: CBOR,
channel: server,
})

const identify = Client.invoke({
issuer: alice,
audience: server.id,
capability: {
can: 'access/identify',
with: 'did:email:[email protected]',
},
})

const register = await identify.execute(connection)

assert.deepEqual(register, null)
})

0 comments on commit a0f6bcf

Please sign in to comment.