mirror of
https://github.com/Choices-js/Choices.git
synced 2024-05-17 21:16:34 +02:00
15 lines
324 B
JavaScript
15 lines
324 B
JavaScript
|
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);
|
||
|
});
|
||
|
});
|
||
|
});
|