소스 검색

build: disable jest on precommit hook -windows fix

Temporary fix until we get jest tests working on Windows
Daniel Lee 8 년 전
부모
커밋
c22097c95e
2개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      jest.config.js
  2. 0 1
      scripts/grunt/default_task.js

+ 1 - 1
jest.config.js

@@ -4,7 +4,7 @@ module.exports = {
   "transform": {
     "^.+\\.tsx?$": "<rootDir>/node_modules/ts-jest/preprocessor.js"
   },
-  "moduleDirectories": ["<rootDir>node_modules", "<rootDir>/public"],
+  "moduleDirectories": ["<rootDir>/node_modules", "<rootDir>/public"],
   "roots": [
     "<rootDir>/public"
   ],

+ 0 - 1
scripts/grunt/default_task.js

@@ -22,7 +22,6 @@ module.exports = function(grunt) {
   grunt.registerTask('precommit', [
     'sasslint',
     'exec:tslint',
-    "exec:jest",
     'no-only-tests'
   ]);