From 6f47aa3686d1a983374a71fe5a2d920afe38759f Mon Sep 17 00:00:00 2001 From: BinYi LIU Date: Fri, 21 Apr 2017 06:16:21 -0700 Subject: [PATCH] Fix CLI `notify` option not taking precedence over config option. (#3340) issue#3335 --- packages/jest-config/src/setFromArgv.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/jest-config/src/setFromArgv.js b/packages/jest-config/src/setFromArgv.js index 0419a26541b4..27399f036a70 100644 --- a/packages/jest-config/src/setFromArgv.js +++ b/packages/jest-config/src/setFromArgv.js @@ -25,7 +25,7 @@ function setFromArgv(config, argv) { config.verbose = argv.verbose; } - if (argv.notify) { + if (argv.notify !== null) { config.notify = argv.notify; }