Chatwoot/app/javascript/widget/store/modules/specs/conversationAttributes/getters.spec.js

14 lines
304 B
JavaScript

import { getters } from '../../conversationAttributes';
describe('#getters', () => {
it('getConversationParams', () => {
const state = {
id: 1,
status: 'pending',
};
expect(getters.getConversationParams(state)).toEqual({
id: 1,
status: 'pending',
});
});
});