add test task

This commit is contained in:
Shin'ya Ueoka 2017-08-15 20:49:04 +09:00
parent b9fe3343fc
commit 7f64413cc9
2 changed files with 2 additions and 2 deletions

View file

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

View file

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