Forráskód Böngészése

shore: minor cleanup

Torkel Ödegaard 8 éve
szülő
commit
fea741d7c2

+ 1 - 1
README.md

@@ -60,7 +60,7 @@ npm run test
 
 
 Run tests in watch mode
 Run tests in watch mode
 ```bash
 ```bash
-npm run test-watch
+npm run watch-test
 ```
 ```
 
 
 ### Recompile backend on source change
 ### 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
     // list of files / patterns to load in the browser
     files: [
     files: [
-      'public/test/index.ts',
+      { pattern: 'public/test/index.ts', watched: false }
     ],
     ],
 
 
     preprocessors: {
     preprocessors: {
@@ -19,7 +19,6 @@ module.exports = function(config) {
     },
     },
 
 
     webpack: webpackTestConfig,
     webpack: webpackTestConfig,
-
     webpackServer: {
     webpackServer: {
       noInfo: true, // please don't spam the console when running in karma!
       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 helpers from 'test/specs/helpers';
 import {ElasticDatasource} from "../datasource";
 import {ElasticDatasource} from "../datasource";
 
 
-console.log(ElasticDatasource);
-
 describe('ElasticDatasource', function() {
 describe('ElasticDatasource', function() {
   var ctx = new helpers.ServiceTestContext();
   var ctx = new helpers.ServiceTestContext();