add test task
This commit is contained in:
parent
b9fe3343fc
commit
7f64413cc9
2 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "webpack -w --debug",
|
"start": "webpack -w --debug",
|
||||||
"lint": "eslint src",
|
"lint": "eslint src",
|
||||||
"test": "true"
|
"test": "karma start"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
|
@ -2,7 +2,7 @@ import * as actions from '../shared/actions';
|
||||||
import * as tabs from './tabs';
|
import * as tabs from './tabs';
|
||||||
import KeyQueue from './key-queue';
|
import KeyQueue from './key-queue';
|
||||||
|
|
||||||
const queue = new KeyQueue(KeyQueue.DEFAULT_KEYMAP);
|
const queue = new KeyQueue();
|
||||||
|
|
||||||
const keyDownHandle = (request) => {
|
const keyDownHandle = (request) => {
|
||||||
return queue.push({
|
return queue.push({
|
||||||
|
|
Reference in a new issue