aboutsummaryrefslogtreecommitdiff
path: root/test/background/actions
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2018-07-28 10:51:52 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2018-07-28 14:20:29 +0900
commitccdb0a2428bbdc56e8288442f844a4bb3b8f9a11 (patch)
treec1d653b3792917473bace600d12a071b35f6168c /test/background/actions
parent66c23423f931bb66c59cd29cf9279a5de5d56535 (diff)
Clean old codes
Diffstat (limited to 'test/background/actions')
-rw-r--r--test/background/actions/find.test.js12
-rw-r--r--test/background/actions/tab.test.js13
2 files changed, 0 insertions, 25 deletions
diff --git a/test/background/actions/find.test.js b/test/background/actions/find.test.js
deleted file mode 100644
index 6b0b846..0000000
--- a/test/background/actions/find.test.js
+++ /dev/null
@@ -1,12 +0,0 @@
-import actions from 'background/actions';
-import * as findActions from 'background/actions/find';
-
-describe("find actions", () => {
- describe("setKeyword", () => {
- it('create FIND_SET_KEYWORD action', () => {
- let action = findActions.setKeyword('banana');
- expect(action.type).to.equal(actions.FIND_SET_KEYWORD);
- expect(action.keyword).to.equal('banana');
- });
- });
-});
diff --git a/test/background/actions/tab.test.js b/test/background/actions/tab.test.js
deleted file mode 100644
index ab57374..0000000
--- a/test/background/actions/tab.test.js
+++ /dev/null
@@ -1,13 +0,0 @@
-import actions from 'background/actions';
-import * as tabActions from 'background/actions/tab';
-
-describe("tab actions", () => {
- describe("selected", () => {
- it('create TAB_SELECTED action', () => {
- let action = tabActions.selected(123);
- expect(action.type).to.equal(actions.TAB_SELECTED);
- expect(action.tabId).to.equal(123);
- });
- });
-});
-