aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordave <starpumadev@gmail.com>2019-03-14 08:06:40 -0400
committerdave <starpumadev@gmail.com>2019-03-14 08:06:40 -0400
commit06fda2751187233f338a42ec0a3501b2cac2cb62 (patch)
treebf9714173a33d80f2e323030291ba017fcba2ea0
parente5e1d4c643d6b69217fb9a62b60f3f9c94ef4714 (diff)
#436: update unit testing
-rw-r--r--test/unit/specs/services/notification_utils/notification_utils.spec.js5
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'
}
]