Skip to content
Snippets Groups Projects
Commit 06fda275 authored by Dave LiPuma's avatar Dave LiPuma
Browse files

#436: update unit testing

parent e5e1d4c6
No related branches found
No related tags found
2 merge requests!1028`master` refresh with `develop`,!678#436: integrate mastoAPI notifications
......@@ -9,14 +9,17 @@ describe('NotificationUtils', () => {
notifications: {
data: [
{
id: 1,
action: { id: '1' },
type: 'like'
},
{
id: 2,
action: { id: '2' },
type: 'mention'
},
{
id: 3,
action: { id: '3' },
type: 'repeat'
}
......@@ -35,10 +38,12 @@ describe('NotificationUtils', () => {
const expected = [
{
action: { id: '3' },
id: 3,
type: 'repeat'
},
{
action: { id: '1' },
id: 1,
type: 'like'
}
]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment