Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
samuel committed Apr 4, 2024
1 parent 29478de commit 53e9a96
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/policy-engine/src/engine/__test__/e2e/client.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@ describe('Client', () => {
.send(createClientPayload)

const actualClient = await clientRepository.findByClientId(clientId)
const actualPublicKey = secp256k1PrivateKeyToPublicJwk(privateKeyToHex(actualClient?.signer.key as PrivateKey))
const hex = await privateKeyToHex(actualClient?.signer.key as PrivateKey)
const actualPublicKey = secp256k1PrivateKeyToPublicJwk(hex)

expect(body).toEqual({
...actualClient,
Expand Down

0 comments on commit 53e9a96

Please sign in to comment.