From f8008516d111c373f7c832223a1fb064a5a834bc Mon Sep 17 00:00:00 2001 From: Zach Ploskey Date: Mon, 13 Aug 2018 03:52:44 -0700 Subject: [PATCH] test in lint-staged using --findRelatedTests --- .lintstagedrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.lintstagedrc b/.lintstagedrc index 6d4e36f..f8ece8e 100644 --- a/.lintstagedrc +++ b/.lintstagedrc @@ -2,3 +2,5 @@ "{src,examples,__tests__}/**/*.{re,rei}": - "refmt --in-place" - "git add" +"lib/js/**/*.js": + - "jest --bail --findRelatedTests"