Skip to content

Commit 3fed688

Browse files
committed
revert test change
1 parent 32650c6 commit 3fed688

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

projects/stream-chat-angular/src/lib/channel.service.spec.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1863,8 +1863,12 @@ describe('ChannelService', () => {
18631863
channel.data = { member_count: 3, own_capabilities: [] };
18641864
service.setAsActiveChannel(channel);
18651865
const result = await service.autocompleteMembers('ja');
1866+
const expectedResult = [
1867+
{ user: { id: 'jack', name: 'Jack' } },
1868+
{ user: { id: 'john' } },
1869+
];
18661870

1867-
expect(result.length).toBe(2);
1871+
expect(result).toEqual(expectedResult);
18681872
});
18691873

18701874
it('should query members, more than 100 members', async () => {

0 commit comments

Comments
 (0)