diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2018-03-04 17:57:56 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2018-03-04 17:57:56 +0900 |
commit | 37410b874f89de4907ba038244318129835e8157 (patch) | |
tree | f9f3c8e0efc1fcd7117b2b681145464a3585781a /test/console/actions | |
parent | 0211d7781fffdb0f4e9a5e523f0f6ea24c5c8db8 (diff) |
add hide action for console
Diffstat (limited to 'test/console/actions')
-rw-r--r-- | test/console/actions/console.test.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/console/actions/console.test.js b/test/console/actions/console.test.js index 9af13d4..1774431 100644 --- a/test/console/actions/console.test.js +++ b/test/console/actions/console.test.js @@ -3,6 +3,12 @@ import actions from 'console/actions'; import * as consoleActions from 'console/actions/console'; describe("console actions", () => { + describe('hide', () => { + it('create CONSOLE_HIDE action', () => { + let action = consoleActions.hide(); + expect(action.type).to.equal(actions.CONSOLE_HIDE); + }); + }); describe("showCommand", () => { it('create CONSOLE_SHOW_COMMAND action', () => { let action = consoleActions.showCommand('hello'); |