From 629f68ffd7199d05916ae3268a1f94e2404fb3f7 Mon Sep 17 00:00:00 2001 From: Julien Fontanet Date: Thu, 28 Dec 2017 17:18:32 +0100 Subject: [PATCH] fix(precommit hook): pass if no tests found --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index e291f335e..4c61f6dec 100644 --- a/package.json +++ b/package.json @@ -211,7 +211,7 @@ "lint-staged-stash", "prettier --write", "eslint --fix", - "jest --findRelatedTests", + "jest --findRelatedTests --passWithNoTests", "git add", "lint-staged-unstash" ]