aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2017-08-15 20:49:04 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2017-08-15 20:57:01 +0900
commit7f64413cc95a8b3e842e888563f78bee6dcb8937 (patch)
treea9915c290bb08028583a821a75cecffd5a7f960e
parentb9fe3343fc46fb9898f6da9cff8bf0e4ab4e982c (diff)
add test task
-rw-r--r--package.json2
-rw-r--r--src/background/index.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/package.json b/package.json
index 6663579..e62dd5c 100644
--- a/package.json
+++ b/package.json
@@ -4,7 +4,7 @@
"scripts": {
"start": "webpack -w --debug",
"lint": "eslint src",
- "test": "true"
+ "test": "karma start"
},
"repository": {
"type": "git",
diff --git a/src/background/index.js b/src/background/index.js
index d27c557..604ea92 100644
--- a/src/background/index.js
+++ b/src/background/index.js
@@ -2,7 +2,7 @@ import * as actions from '../shared/actions';
import * as tabs from './tabs';
import KeyQueue from './key-queue';
-const queue = new KeyQueue(KeyQueue.DEFAULT_KEYMAP);
+const queue = new KeyQueue();
const keyDownHandle = (request) => {
return queue.push({