mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Fix intermittent failing test
- the test was regularly failing our build - change from toEqual to toMatchObject since there is more info coming back, like errors, etc...
This commit is contained in:
parent
3a36b50867
commit
865c562048
@ -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', () => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user