f28ec29b8c
* Feature: Customise widget for bot conversations
14 lines
296 B
JavaScript
14 lines
296 B
JavaScript
import { getters } from '../../conversationAttributes';
|
|
|
|
describe('#getters', () => {
|
|
it('getConversationParams', () => {
|
|
const state = {
|
|
id: 1,
|
|
status: 'bot',
|
|
};
|
|
expect(getters.getConversationParams(state)).toEqual({
|
|
id: 1,
|
|
status: 'bot',
|
|
});
|
|
});
|
|
});
|