From 258575af9ade68a28813ea79a829468b61c94f22 Mon Sep 17 00:00:00 2001 From: Benjamin Tan Date: Tue, 10 Jan 2017 21:51:28 +0800 Subject: [PATCH] Make `testRegex` Jest config a string instead of array. Ref. https://facebook.github.io/jest/docs/configuration.html#testregex-string. Closes #10. --- package.json | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/package.json b/package.json index 3f2485b3..7c7567f5 100644 --- a/package.json +++ b/package.json @@ -23,9 +23,7 @@ "setupFiles": [ "/tests_config/run_spec.js" ], - "testRegex": [ - "jsfmt\\.spec\\.js$" - ], + "testRegex": "jsfmt\\.spec\\.js$", "testPathIgnorePatterns": [ "tests/new_react", "tests/more_react"