aboutsummaryrefslogtreecommitdiff
path: root/test/console/actions
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2017-10-08 19:08:51 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2017-10-08 19:58:36 +0900
commit7ac00fce6f6c431f96c531179c6af3796df7e07a (patch)
treea10db125bd25c1447bb08de2ef156c010243f019 /test/console/actions
parentb0d2b5328107a9a2018132938fb5a9efcd77fc50 (diff)
Show info on yanked
Diffstat (limited to 'test/console/actions')
-rw-r--r--test/console/actions/console.test.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/console/actions/console.test.js b/test/console/actions/console.test.js
index a2c906f..3b02d4a 100644
--- a/test/console/actions/console.test.js
+++ b/test/console/actions/console.test.js
@@ -11,6 +11,14 @@ describe("console actions", () => {
});
});
+ describe("showInfo", () => {
+ it('create CONSOLE_SHOW_INFO action', () => {
+ let action = consoleActions.showInfo('an info');
+ expect(action.type).to.equal(actions.CONSOLE_SHOW_INFO);
+ expect(action.text).to.equal('an info');
+ });
+ });
+
describe("showError", () => {
it('create CONSOLE_SHOW_ERROR action', () => {
let action = consoleActions.showError('an error');