Do you want to request a feature or report a bug?: Bug
What is the current behavior?: Jest won't run when I include projects option in the configuration file and pass an array of Object into that. Just like the example in docs: https://facebook.github.io/jest/docs/en/configuration.html#projects-array-string-projectconfig
{
"projects": [
{
"displayName": "test"
}
]
}
Returned with error:
TypeError: glob pattern string required
at new Minimatch (/Users/admin/code/coin-backend/node_modules/minimatch/minimatch.js:116:11)
at setopts (/Users/admin/code/coin-backend/node_modules/glob/common.js:118:20)
at new GlobSync (/Users/admin/code/coin-backend/node_modules/glob/sync.js:40:3)
at Function.globSync [as sync] (/Users/admin/code/coin-backend/node_modules/glob/sync.js:26:10)
at value.map.reduce (/Users/admin/code/coin-backend/node_modules/jest-config/build/normalize.js:440:63)
at Array.reduce (<anonymous>)
at Object.keys.reduce (/Users/admin/code/coin-backend/node_modules/jest-config/build/normalize.js:436:9)
at Array.reduce (<anonymous>)
at normalize (/Users/admin/code/coin-backend/node_modules/jest-config/build/normalize.js:352:24)
at readConfig (/Users/admin/code/coin-backend/node_modules/jest-config/build/index.js:61:50)
Reproduce: https://repl.it/repls/ImpeccablePortlyDiscus
What is the expected behavior?: It should able to load projects with different setting for each project.
Please provide your exact Jest configuration and mention your Jest, node,
yarn/npm version and operating system.:
yarn: v1.0.2
npm 5.3.0
node: v8.6.0
OS: OS X 10.12.6
Do you want to request a feature or report a bug?: Bug
What is the current behavior?: Jest won't run when I include
projectsoption in the configuration file and pass an array of Object into that. Just like the example in docs: https://facebook.github.io/jest/docs/en/configuration.html#projects-array-string-projectconfigReturned with error:
Reproduce: https://repl.it/repls/ImpeccablePortlyDiscus
What is the expected behavior?: It should able to load projects with different setting for each project.
Please provide your exact Jest configuration and mention your Jest, node,
yarn/npm version and operating system.:
yarn: v1.0.2
npm 5.3.0
node: v8.6.0
OS: OS X 10.12.6