mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
fix test
This commit is contained in:
parent
57008e3355
commit
4d19ce06b5
@ -42,15 +42,13 @@ describe('PublicKeyResolver', () => {
|
||||
})
|
||||
|
||||
it('returns homeCommunity-publicKey', async () => {
|
||||
await expect(query({ query: getPublicKeyQuery })).resolves.toContainEqual(
|
||||
expect.objectContaining({
|
||||
data: {
|
||||
getPublicKey: {
|
||||
publicKey: 'homeCommunity-publicKey',
|
||||
},
|
||||
await expect(query({ query: getPublicKeyQuery })).resolves.toMatchObject({
|
||||
data: {
|
||||
getPublicKey: {
|
||||
publicKey: expect.stringMatching('homeCommunity-publicKey'),
|
||||
},
|
||||
})
|
||||
)
|
||||
},
|
||||
})
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user