aboutsummaryrefslogtreecommitdiff
path: root/test/background/reducers/find.test.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/background/reducers/find.test.js')
-rw-r--r--test/background/reducers/find.test.js18
1 files changed, 0 insertions, 18 deletions
diff --git a/test/background/reducers/find.test.js b/test/background/reducers/find.test.js
deleted file mode 100644
index c366223..0000000
--- a/test/background/reducers/find.test.js
+++ /dev/null
@@ -1,18 +0,0 @@
-import actions from 'background/actions';
-import findReducer from 'background/reducers/find';
-
-describe("find reducer", () => {
- it('return the initial state', () => {
- let state = findReducer(undefined, {});
- expect(state).to.have.deep.property('keyword', null);
- });
-
- it('return next state for FIND_SET_KEYWORD', () => {
- let action = {
- type: actions.FIND_SET_KEYWORD,
- keyword: 'cherry',
- };
- let state = findReducer(undefined, action);
- expect(state).to.have.deep.property('keyword', 'cherry')
- });
-});