This commit is contained in:
Ulf Gebhardt 2023-03-09 15:18:31 +01:00
parent 57008e3355
commit 4d19ce06b5
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9

View File

@ -42,15 +42,13 @@ describe('PublicKeyResolver', () => {
}) })
it('returns homeCommunity-publicKey', async () => { it('returns homeCommunity-publicKey', async () => {
await expect(query({ query: getPublicKeyQuery })).resolves.toContainEqual( await expect(query({ query: getPublicKeyQuery })).resolves.toMatchObject({
expect.objectContaining({
data: { data: {
getPublicKey: { getPublicKey: {
publicKey: 'homeCommunity-publicKey', publicKey: expect.stringMatching('homeCommunity-publicKey'),
}, },
}, },
}) })
)
}) })
}) })
}) })