mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Add a double-check just to be sure
This commit is contained in:
parent
c669fc08eb
commit
c24876c922
@ -212,9 +212,12 @@ describe('given some notifications', () => {
|
|||||||
]),
|
]),
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
await expect(
|
const response = await query({
|
||||||
query({ query: notificationQuery, variables: { ...variables, read: false } }),
|
query: notificationQuery,
|
||||||
).resolves.toMatchObject(expected)
|
variables: { ...variables, read: false },
|
||||||
|
})
|
||||||
|
await expect(response).toMatchObject(expected)
|
||||||
|
await expect(response.data.notifications.length).toEqual(2) // double-check
|
||||||
})
|
})
|
||||||
|
|
||||||
describe('if a resource gets deleted', () => {
|
describe('if a resource gets deleted', () => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user