aboutsummaryrefslogtreecommitdiff
path: root/test/actions/completion.test.js
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2017-10-07 07:51:39 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2017-10-07 08:15:04 +0900
commit45368384d1bbcbc005bf1eb3cdc7f7c8b137c28c (patch)
tree7c6e7ed12322ff6d74169e73524e8ffb5ce15a12 /test/actions/completion.test.js
parent4cb17031d11d76275de51e31218fb87359e7d826 (diff)
remove completion actions/reducer
Diffstat (limited to 'test/actions/completion.test.js')
-rw-r--r--test/actions/completion.test.js27
1 files changed, 0 insertions, 27 deletions
diff --git a/test/actions/completion.test.js b/test/actions/completion.test.js
deleted file mode 100644
index 92de383..0000000
--- a/test/actions/completion.test.js
+++ /dev/null
@@ -1,27 +0,0 @@
-import { expect } from "chai";
-import actions from 'actions';
-import * as completionActions from 'actions/completion';
-
-describe("completion actions", () => {
- describe('setItems', () => {
- it('create COMPLETION_SET_ITEMS action', () => {
- let action = completionActions.setItems([1, 2, 3]);
- expect(action.type).to.equal(actions.COMPLETION_SET_ITEMS);
- expect(action.groups).to.deep.equal([1, 2, 3]);
- });
- });
-
- describe('selectNext', () => {
- it('create COMPLETION_SELECT_NEXT action', () => {
- let action = completionActions.selectNext();
- expect(action.type).to.equal(actions.COMPLETION_SELECT_NEXT);
- });
- });
-
- describe('selectPrev', () => {
- it('create COMPLETION_SELECT_PREV action', () => {
- let action = completionActions.selectPrev();
- expect(action.type).to.equal(actions.COMPLETION_SELECT_PREV);
- });
- });
-});