From 441aa5b97e46135e01d7236483c7df751e7948b7 Mon Sep 17 00:00:00 2001 From: "Kent C. Dodds" Date: Sat, 7 Apr 2018 07:26:44 -0600 Subject: [PATCH] chore: fix precommit test --- src/scripts/__tests__/precommit.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/scripts/__tests__/precommit.js b/src/scripts/__tests__/precommit.js index 65f21d4b..6b0c33aa 100644 --- a/src/scripts/__tests__/precommit.js +++ b/src/scripts/__tests__/precommit.js @@ -24,6 +24,7 @@ cases( process.exit = jest.fn() process.argv = ['node', '../precommit', ...args] + utils.isOptedIn = optIn => optIn === 'pre-commit' crossSpawnSyncMock.mockClear() try {