diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-11-06 20:13:15 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-11-11 16:16:01 +0900 |
commit | be37c42d28e4d32609b5972ee937a269d18c0f67 (patch) | |
tree | 8b811c3dccd38292e8ecc14d0108a6352476a4f4 /test/console/reducers/console.test.js | |
parent | cb4b26e03f97ff2f1789f7a59efe2973ab1d0eb9 (diff) |
show find in console
Diffstat (limited to 'test/console/reducers/console.test.js')
-rw-r--r-- | test/console/reducers/console.test.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/console/reducers/console.test.js b/test/console/reducers/console.test.js index 4f85e55..280d1b7 100644 --- a/test/console/reducers/console.test.js +++ b/test/console/reducers/console.test.js @@ -7,7 +7,7 @@ describe("console reducer", () => { let state = reducer(undefined, {}); expect(state).to.have.property('mode', ''); expect(state).to.have.property('messageText', ''); - expect(state).to.have.property('commandText', ''); + expect(state).to.have.property('consoleText', ''); expect(state).to.have.deep.property('completions', []); expect(state).to.have.property('groupSelection', -1); expect(state).to.have.property('itemSelection', -1); @@ -17,7 +17,7 @@ describe("console reducer", () => { let action = { type: actions.CONSOLE_SHOW_COMMAND, text: 'open ' }; let state = reducer({}, action); expect(state).to.have.property('mode', 'command'); - expect(state).to.have.property('commandText', 'open '); + expect(state).to.have.property('consoleText', 'open '); }); it('return next state for CONSOLE_SHOW_INFO', () => { |