This commit is contained in:
Barış Soner Uşaklı
2018-02-14 11:53:51 -05:00
parent da3ce2e1d5
commit 723f31a362
7 changed files with 122 additions and 5 deletions

View File

@@ -357,7 +357,7 @@ describe('Notifications', function () {
setTimeout(function () {
user.notifications.getAll(uid, 'post', function (err, nids) {
assert.ifError(err);
assert.notEqual(nids.indexOf(nid), -1);
assert(nids.includes(nid));
done();
});
}, 1500);