Commit 3f862485 authored by NataliaTepluhina's avatar NataliaTepluhina

Added a test for new action

parent aa14b441
...@@ -264,4 +264,17 @@ describe('LabelsSelect Actions', () => { ...@@ -264,4 +264,17 @@ describe('LabelsSelect Actions', () => {
); );
}); });
}); });
describe('updateLabelsSetState', () => {
it('updates labels `set` state to match `selectedLabels`', (done) => {
testAction(
actions.updateLabelsSetState,
{},
state,
[{ type: types.UPDATE_LABELS_SET_STATE }],
[],
done,
);
});
});
}); });
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment