diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-10-07 12:21:09 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-07 12:21:09 +0900 |
commit | d995ab0030522f380d165f309ffc72b582366ddb (patch) | |
tree | 69a096e9a8610ae8966af05e91355efdd27ea811 /test/actions/completion.test.js | |
parent | 482206f6c90985011b197623854b8bfbc26ee54c (diff) | |
parent | 9fb7bf96be786acfbad97f7c76bc423a401dd657 (diff) |
Merge pull request #19 from ueokande/content-and-background-redux-completely
Refactor: full redux on content and background
Diffstat (limited to 'test/actions/completion.test.js')
-rw-r--r-- | test/actions/completion.test.js | 27 |
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 da88f53..0000000 --- a/test/actions/completion.test.js +++ /dev/null @@ -1,27 +0,0 @@ -import { expect } from "chai"; -import actions from '../../src/actions'; -import * as completionActions from '../../src/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); - }); - }); -}); |