Chatwoot/app/javascript/widget/store/modules/specs/message/getters.spec.js
2021-07-13 11:31:21 +05:30

14 lines
269 B
JavaScript

import { getters } from '../../message';
describe('#getters', () => {
it('getUIFlags', () => {
const state = {
uiFlags: {
isUpdating: false,
},
};
expect(getters.getUIFlags(state)).toEqual({
isUpdating: false,
});
});
});