Choices/src/scripts/src/actions/misc.test.js

15 lines
324 B
JavaScript
Raw Normal View History

2017-10-10 16:26:38 +02:00
import { expect } from 'chai';
import * as actions from './misc';
describe('misc actions', () => {
describe('clearAll action', () => {
it('returns CLEAR_ALL action', () => {
const expectedAction = {
type: 'CLEAR_ALL',
};
expect(actions.clearAll()).to.eql(expectedAction);
});
});
});