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