fix: expand is cli option rather than configuration

This commit is contained in:
Clark Du 2018-04-08 22:43:04 +08:00
parent 4285d48691
commit 2be9d136d9
No known key found for this signature in database
GPG Key ID: D0E5986AF78B86D9
2 changed files with 3 additions and 4 deletions

View File

@ -7,6 +7,5 @@ module.exports = {
],
setupTestFrameworkScriptFile: './test/utils/setup',
testPathIgnorePatterns: ['test/fixtures/.*/.*?/'],
moduleFileExtensions: ['js', 'mjs', 'json'],
expand: true
moduleFileExtensions: ['js', 'mjs', 'json']
}

View File

@ -58,10 +58,10 @@
"prebuild": "yarn clean",
"security": "nsp check || true",
"test": "yarn test:fixtures && yarn test:unit",
"test:fixtures": "jest --maxWorkers=4 --coverage test/fixtures",
"test:fixtures": "jest --maxWorkers=4 --coverage -e test/fixtures",
"test:e2e": "jest --maxWorkers=1 test/e2e",
"test:lint": "yarn lint && yarn security",
"test:unit": "jest --maxWorkers=4 --coverage test/unit"
"test:unit": "jest --maxWorkers=4 --coverage -e test/unit"
},
"engines": {
"node": ">=8.0.0",