瀏覽代碼

shore: minor cleanup

Torkel Ödegaard 8 年之前
父節點
當前提交
fea741d7c2
共有 3 個文件被更改,包括 2 次插入5 次删除
  1. 1 1
      README.md
  2. 1 2
      karma.conf.js
  3. 0 2
      public/app/plugins/datasource/elasticsearch/specs/datasource_specs.ts

+ 1 - 1
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

+ 1 - 2
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!
     },

+ 0 - 2
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();