use mode in console message

This commit is contained in:
Shin'ya Ueoka 2017-10-08 18:41:44 +09:00
parent f6996a2274
commit b0d2b53281
11 changed files with 36 additions and 43 deletions
test/console/actions

View file

@ -20,9 +20,9 @@ describe("console actions", () => {
});
describe("hide", () => {
it('create CONSOLE_HIDE action', () => {
let action = consoleActions.hide();
expect(action.type).to.equal(actions.CONSOLE_HIDE);
it('create CONSOLE_HIDE_COMMAND action', () => {
let action = consoleActions.hideCommand();
expect(action.type).to.equal(actions.CONSOLE_HIDE_COMMAND);
});
});