add hide action for console

Deze commit is opgenomen in:
Shin'ya Ueoka 2018-03-04 17:57:56 +09:00
bovenliggende 0211d7781f
commit 37410b874f
6 gewijzigde bestanden met toevoegingen van 26 en 1 verwijderingen

Bestand weergeven

@ -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');