Feature: Customise widget for bot conversations (#834)

* Feature: Customise widget for bot conversations
This commit is contained in:
Pranav Raj S
2020-05-09 22:02:43 +05:30
committed by GitHub
parent 05ea6308f2
commit f28ec29b8c
24 changed files with 298 additions and 26 deletions

View File

@@ -0,0 +1,14 @@
import { getters } from '../../conversationAttributes';
describe('#getters', () => {
it('getConversationParams', () => {
const state = {
id: 1,
status: 'bot',
};
expect(getters.getConversationParams(state)).toEqual({
id: 1,
status: 'bot',
});
});
});