mirror of
https://github.com/Choices-js/Choices.git
synced 2024-06-16 12:45:10 +02:00
15 lines
324 B
JavaScript
15 lines
324 B
JavaScript
import { expect } from 'chai';
|
|
import * as actions from './misc';
|
|
|
|
describe('actions/misc', () => {
|
|
describe('clearAll action', () => {
|
|
it('returns CLEAR_ALL action', () => {
|
|
const expectedAction = {
|
|
type: 'CLEAR_ALL',
|
|
};
|
|
|
|
expect(actions.clearAll()).to.eql(expectedAction);
|
|
});
|
|
});
|
|
});
|