blob: 676e105d0a0c7323c4a28e1493bc20c5c431db35 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
import { expect } from "chai";
import actions from 'content/actions';
import * as findActions from 'content/actions/find';
describe("find actions", () => {
describe("show", () => {
it('create FIND_SHOW action', () => {
let action = findActions.show();
expect(action.type).to.equal(actions.FIND_SHOW);
});
});
describe("hide", () => {
it('create FIND_HIDE action', () => {
let action = findActions.hide();
expect(action.type).to.equal(actions.FIND_HIDE);
});
});
});
|