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

15 lines
304 B
JavaScript
Raw Normal View History

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