aboutsummaryrefslogtreecommitdiff
path: root/test/content/reducers
diff options
context:
space:
mode:
Diffstat (limited to 'test/content/reducers')
-rw-r--r--test/content/reducers/addon.test.js1
-rw-r--r--test/content/reducers/find.test.js3
-rw-r--r--test/content/reducers/follow-controller.test.js1
-rw-r--r--test/content/reducers/input.test.js1
-rw-r--r--test/content/reducers/setting.test.js1
5 files changed, 1 insertions, 6 deletions
diff --git a/test/content/reducers/addon.test.js b/test/content/reducers/addon.test.js
index 93f97e8..8c546d2 100644
--- a/test/content/reducers/addon.test.js
+++ b/test/content/reducers/addon.test.js
@@ -1,4 +1,3 @@
-import { expect } from "chai";
import actions from 'content/actions';
import addonReducer from 'content/reducers/addon';
diff --git a/test/content/reducers/find.test.js b/test/content/reducers/find.test.js
index 93625da..a8c30d7 100644
--- a/test/content/reducers/find.test.js
+++ b/test/content/reducers/find.test.js
@@ -1,11 +1,10 @@
-import { expect } from "chai";
import actions from 'content/actions';
import findReducer from 'content/reducers/find';
describe("find reducer", () => {
it('return the initial state', () => {
let state = findReducer(undefined, {});
- expect(state).to.have.property('keyword', '');
+ expect(state).to.have.property('keyword', null);
expect(state).to.have.property('found', false);
});
diff --git a/test/content/reducers/follow-controller.test.js b/test/content/reducers/follow-controller.test.js
index f4b91d2..8a4c2d4 100644
--- a/test/content/reducers/follow-controller.test.js
+++ b/test/content/reducers/follow-controller.test.js
@@ -1,4 +1,3 @@
-import { expect } from "chai";
import actions from 'content/actions';
import followControllerReducer from 'content/reducers/follow-controller';
diff --git a/test/content/reducers/input.test.js b/test/content/reducers/input.test.js
index d0b5655..0011943 100644
--- a/test/content/reducers/input.test.js
+++ b/test/content/reducers/input.test.js
@@ -1,4 +1,3 @@
-import { expect } from "chai";
import actions from 'content/actions';
import inputReducer from 'content/reducers/input';
diff --git a/test/content/reducers/setting.test.js b/test/content/reducers/setting.test.js
index 634b299..4e4c095 100644
--- a/test/content/reducers/setting.test.js
+++ b/test/content/reducers/setting.test.js
@@ -1,4 +1,3 @@
-import { expect } from "chai";
import actions from 'content/actions';
import settingReducer from 'content/reducers/setting';