diff options
| author | HJ <30-hj@users.noreply.git.pleroma.social> | 2019-04-10 17:28:42 +0000 |
|---|---|---|
| committer | HJ <30-hj@users.noreply.git.pleroma.social> | 2019-04-10 17:28:42 +0000 |
| commit | 84505e01f5f6b2d0ba462cdccefcedc631ab09ba (patch) | |
| tree | b49893d5b9087d8eb8a92d8b54eca79b822c6a53 /test/unit/specs/services/notification_utils/notification_utils.spec.js | |
| parent | d94a7b63185ce72bd9a61ebc7f6141178176fc4e (diff) | |
| parent | 76cd01e99b832944c5f6faff3167935346438b53 (diff) | |
Merge branch 'issue-436-mastoapi-notifications' into 'develop'
#436: integrate mastoAPI notifications
Closes #436
See merge request pleroma/pleroma-fe!678
Diffstat (limited to 'test/unit/specs/services/notification_utils/notification_utils.spec.js')
| -rw-r--r-- | test/unit/specs/services/notification_utils/notification_utils.spec.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/unit/specs/services/notification_utils/notification_utils.spec.js b/test/unit/specs/services/notification_utils/notification_utils.spec.js index e945459e..1baa5fc9 100644 --- a/test/unit/specs/services/notification_utils/notification_utils.spec.js +++ b/test/unit/specs/services/notification_utils/notification_utils.spec.js @@ -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' } ] |
