瀏覽代碼

removes codedov refs

bergquist 7 年之前
父節點
當前提交
63ed02e626
共有 4 個文件被更改,包括 1 次插入19 次删除
  1. 0 1
      Gruntfile.js
  2. 0 11
      codecov.yml
  3. 0 1
      package.json
  4. 1 6
      scripts/grunt/options/exec.js

+ 0 - 1
Gruntfile.js

@@ -25,7 +25,6 @@ module.exports = function (grunt) {
     }
     }
   }
   }
 
 
-  config.coverage = grunt.option('coverage');
   config.phjs = grunt.option('phjsToRelease');
   config.phjs = grunt.option('phjsToRelease');
   config.pkg.version = grunt.option('pkgVer') || config.pkg.version;
   config.pkg.version = grunt.option('pkgVer') || config.pkg.version;
 
 

+ 0 - 11
codecov.yml

@@ -1,11 +0,0 @@
-coverage:
-  precision: 2
-  round: down
-  range: "50...100"
-
-  status:
-    project: yes
-    patch: yes
-    changes: no
-
-comment: off

+ 0 - 1
package.json

@@ -100,7 +100,6 @@
     "watch": "webpack --progress --colors --watch --mode development --config scripts/webpack/webpack.dev.js",
     "watch": "webpack --progress --colors --watch --mode development --config scripts/webpack/webpack.dev.js",
     "build": "grunt build",
     "build": "grunt build",
     "test": "grunt test",
     "test": "grunt test",
-    "test:coverage": "grunt test --coverage=true",
     "lint": "tslint -c tslint.json --project tsconfig.json",
     "lint": "tslint -c tslint.json --project tsconfig.json",
     "jest": "jest --notify --watch",
     "jest": "jest --notify --watch",
     "api-tests": "jest --notify --watch --config=tests/api/jest.js",
     "api-tests": "jest --notify --watch --config=tests/api/jest.js",

+ 1 - 6
scripts/grunt/options/exec.js

@@ -1,14 +1,9 @@
 module.exports = function(config, grunt) {
 module.exports = function(config, grunt) {
   'use strict';
   'use strict';
 
 
-  var coverage = '';
-  if (config.coverage) {
-    coverage = '--coverage --maxWorkers 2';
-  }
-
   return {
   return {
     tslint: 'node ./node_modules/tslint/lib/tslintCli.js -c tslint.json --project ./tsconfig.json',
     tslint: 'node ./node_modules/tslint/lib/tslintCli.js -c tslint.json --project ./tsconfig.json',
-    jest: 'node ./node_modules/jest-cli/bin/jest.js ' + coverage,
+    jest: 'node ./node_modules/jest-cli/bin/jest.js',
     webpack: 'node ./node_modules/webpack/bin/webpack.js --config scripts/webpack/webpack.prod.js',
     webpack: 'node ./node_modules/webpack/bin/webpack.js --config scripts/webpack/webpack.prod.js',
   };
   };
 };
 };