Revert "feat: Adds support for draft in conversation reply box (#4205)" (#4425)

This reverts commit 5ea0436051.
This commit is contained in:
Pranav Raj S
2022-04-08 15:52:39 +05:30
committed by GitHub
parent 7e5ec7925c
commit bc7bcc20b8
10 changed files with 24 additions and 202 deletions

View File

@@ -1,7 +1,6 @@
import {
findPendingMessageIndex,
applyPageFilters,
trimMessage,
} from '../../conversations/helpers';
const conversationList = [
@@ -120,9 +119,3 @@ describe('#applyPageFilters', () => {
});
});
});
describe('#trimMessage', () => {
expect(trimMessage('Hello world', 5)).toEqual('Hello');
expect(trimMessage('Hello', 5)).toEqual('Hello');
expect(trimMessage(undefined, 5)).toEqual('');
});