mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
fix flaky tests (#8638)
This commit is contained in:
parent
7d95c6437a
commit
aaf3b34125
@ -1224,7 +1224,7 @@ describe('notifications', () => {
|
|||||||
}),
|
}),
|
||||||
).resolves.toMatchObject({
|
).resolves.toMatchObject({
|
||||||
data: {
|
data: {
|
||||||
notifications: [
|
notifications: expect.arrayContaining([
|
||||||
{
|
{
|
||||||
read: false,
|
read: false,
|
||||||
reason: 'user_left_group',
|
reason: 'user_left_group',
|
||||||
@ -1249,7 +1249,7 @@ describe('notifications', () => {
|
|||||||
id: 'you',
|
id: 'you',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
]),
|
||||||
},
|
},
|
||||||
errors: undefined,
|
errors: undefined,
|
||||||
})
|
})
|
||||||
@ -1280,7 +1280,7 @@ describe('notifications', () => {
|
|||||||
}),
|
}),
|
||||||
).resolves.toMatchObject({
|
).resolves.toMatchObject({
|
||||||
data: {
|
data: {
|
||||||
notifications: [
|
notifications: expect.arrayContaining([
|
||||||
{
|
{
|
||||||
read: false,
|
read: false,
|
||||||
reason: 'user_left_group',
|
reason: 'user_left_group',
|
||||||
@ -1305,7 +1305,7 @@ describe('notifications', () => {
|
|||||||
id: 'you',
|
id: 'you',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
]),
|
||||||
},
|
},
|
||||||
errors: undefined,
|
errors: undefined,
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user