19 lines
391 B
JavaScript
Raw Normal View History

2016-09-30 18:25:04 +02:00
import expect from 'expect';
import {
defaultAction,
} from '../actions';
import {
DEFAULT_ACTION,
} from '../constants';
describe('NotificationProvider actions', () => {
describe('Default Action', () => {
it('has a type of DEFAULT_ACTION', () => {
const expected = {
type: DEFAULT_ACTION,
};
expect(defaultAction()).toEqual(expected);
});
});
});