From fea741d7c227a37794d4e0f8cfe385e090b2addb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Sun, 1 Oct 2017 20:35:01 +0200 Subject: [PATCH] shore: minor cleanup --- README.md | 2 +- karma.conf.js | 3 +-- .../plugins/datasource/elasticsearch/specs/datasource_specs.ts | 2 -- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 1252321400a..21a616f62a4 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ npm run test Run tests in watch mode ```bash -npm run test-watch +npm run watch-test ``` ### Recompile backend on source change diff --git a/karma.conf.js b/karma.conf.js index 962248a9299..3f006af08b6 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -11,7 +11,7 @@ module.exports = function(config) { // list of files / patterns to load in the browser files: [ - 'public/test/index.ts', + { pattern: 'public/test/index.ts', watched: false } ], preprocessors: { @@ -19,7 +19,6 @@ module.exports = function(config) { }, webpack: webpackTestConfig, - webpackServer: { noInfo: true, // please don't spam the console when running in karma! }, diff --git a/public/app/plugins/datasource/elasticsearch/specs/datasource_specs.ts b/public/app/plugins/datasource/elasticsearch/specs/datasource_specs.ts index eb2a1df3f6c..4ea574064fe 100644 --- a/public/app/plugins/datasource/elasticsearch/specs/datasource_specs.ts +++ b/public/app/plugins/datasource/elasticsearch/specs/datasource_specs.ts @@ -5,8 +5,6 @@ import angular from 'angular'; import helpers from 'test/specs/helpers'; import {ElasticDatasource} from "../datasource"; -console.log(ElasticDatasource); - describe('ElasticDatasource', function() { var ctx = new helpers.ServiceTestContext();