15 lines
296 B
JavaScript
15 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',
|
||
|
});
|
||
|
});
|
||
|
});
|