mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-20 04:54:57 +00:00
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',
|
|
});
|
|
});
|
|
});
|