Merge pull request #1677 from Human-Connection/fix-intermittent-notifications-test

Fix intermittent failing test
This commit is contained in:
Robert Schäfer 2019-09-23 12:31:07 +02:00 committed by GitHub
commit 328a41ab59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -214,7 +214,7 @@ describe('given some notifications', () => {
})
await expect(
query({ query: notificationQuery, variables: { ...variables, read: false } }),
).resolves.toEqual(expected)
).resolves.toMatchObject(expected)
})
describe('if a resource gets deleted', () => {