diff --git a/frontend_tests/node_tests/people.js b/frontend_tests/node_tests/people.js index b38a7a0d3f..8ffecf71b0 100644 --- a/frontend_tests/node_tests/people.js +++ b/frontend_tests/node_tests/people.js @@ -125,6 +125,8 @@ var _ = global._; people.incr_recipient_count(email); people.incr_recipient_count(email); assert.equal(people.get_recipient_count({email: email}), 2); + + assert.equal(people.get_recipient_count({pm_recipient_count: 5}), 5); }()); (function test_filtered_users() {