Make `testRegex` Jest config a string instead of array.

Ref. https://facebook.github.io/jest/docs/configuration.html#testregex-string.

Closes #10.
master
Benjamin Tan 2017-01-10 21:51:28 +08:00
parent 50f898dc4a
commit 258575af9a
1 changed files with 1 additions and 3 deletions

View File

@ -23,9 +23,7 @@
"setupFiles": [
"<rootDir>/tests_config/run_spec.js"
],
"testRegex": [
"jsfmt\\.spec\\.js$"
],
"testRegex": "jsfmt\\.spec\\.js$",
"testPathIgnorePatterns": [
"tests/new_react",
"tests/more_react"