From c22097c95ed55ec884b85f34db2254dbcfbb6e15 Mon Sep 17 00:00:00 2001 From: Daniel Lee Date: Mon, 23 Oct 2017 13:01:44 +0200 Subject: [PATCH] build: disable jest on precommit hook -windows fix Temporary fix until we get jest tests working on Windows --- jest.config.js | 2 +- scripts/grunt/default_task.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/jest.config.js b/jest.config.js index 52b1c4aa97c..cbf4928f926 100644 --- a/jest.config.js +++ b/jest.config.js @@ -4,7 +4,7 @@ module.exports = { "transform": { "^.+\\.tsx?$": "/node_modules/ts-jest/preprocessor.js" }, - "moduleDirectories": ["node_modules", "/public"], + "moduleDirectories": ["/node_modules", "/public"], "roots": [ "/public" ], diff --git a/scripts/grunt/default_task.js b/scripts/grunt/default_task.js index 03cd270b28e..a96e4fdb377 100644 --- a/scripts/grunt/default_task.js +++ b/scripts/grunt/default_task.js @@ -22,7 +22,6 @@ module.exports = function(grunt) { grunt.registerTask('precommit', [ 'sasslint', 'exec:tslint', - "exec:jest", 'no-only-tests' ]);