fix: Update scroll event name to fix auto-scroll (#4251)

Fixes #3622
This commit is contained in:
Pranav Raj S
2022-03-23 13:27:50 +05:30
committed by GitHub
parent f43018e017
commit 771cb5b9fc
2 changed files with 4 additions and 3 deletions

View File

@@ -120,7 +120,7 @@ describe('#mutations', () => {
timestamp: 1602256198,
},
]);
expect(global.bus.$emit).toHaveBeenCalledWith('scrollToMessage');
expect(global.bus.$emit).toHaveBeenCalledWith('SCROLL_TO_MESSAGE');
});
it('update message if it exist in the store', () => {