add test task

jh-changes
Shin'ya Ueoka 7 years ago
parent b9fe3343fc
commit 7f64413cc9
  1. 2
      package.json
  2. 2
      src/background/index.js

@ -4,7 +4,7 @@
"scripts": {
"start": "webpack -w --debug",
"lint": "eslint src",
"test": "true"
"test": "karma start"
},
"repository": {
"type": "git",

@ -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({