This commit is contained in:
Henry Jameson 2026-03-06 17:31:34 +02:00
commit 35a1dec8a5
4 changed files with 56 additions and 53 deletions

View file

@ -53,13 +53,13 @@ describe('NotificationUtils', () => {
type: 'like',
},
]
expect(NotificationUtils.filteredNotificationsFromStore(store, {
mentions: false,
likes: true,
repeats: true,
})).to.eql(
expected,
)
expect(
NotificationUtils.filteredNotificationsFromStore(store, {
mentions: false,
likes: true,
repeats: true,
}),
).to.eql(expected)
})
})
@ -81,7 +81,7 @@ describe('NotificationUtils', () => {
},
],
},
}
},
}
const expected = [
{
@ -90,13 +90,13 @@ describe('NotificationUtils', () => {
seen: false,
},
]
expect(NotificationUtils.unseenNotificationsFromStore(store, {
likes: true,
repeats: true,
mentions: false,
})).to.eql(
expected,
)
expect(
NotificationUtils.unseenNotificationsFromStore(store, {
likes: true,
repeats: true,
mentions: false,
}),
).to.eql(expected)
})
})
})