feat: remove usage of .last

This commit is contained in:
Shivam Mishra
2026-04-23 14:44:52 +05:30
parent 190416d765
commit 83e96956fc
6 changed files with 2 additions and 26 deletions
@@ -1,4 +1,3 @@
import commonHelpers from '../../../../helper/commons';
import getters from '../../conversations/getters';
/*
Order of conversations in the fixture is as follows:
@@ -9,9 +8,6 @@ import getters from '../../conversations/getters';
*/
import conversations from './conversations.fixtures';
// loads .last() helper
commonHelpers();
describe('#getters', () => {
describe('#getAllConversations', () => {
it('returns conversations ordered by lastActivityAt in descending order if no sort order is available', () => {