diff --git a/jest.config.js b/jest.config.js index c63187a530..ae9625b6d8 100644 --- a/jest.config.js +++ b/jest.config.js @@ -7,6 +7,5 @@ module.exports = { ], setupTestFrameworkScriptFile: './test/utils/setup', testPathIgnorePatterns: ['test/fixtures/.*/.*?/'], - moduleFileExtensions: ['js', 'mjs', 'json'], - expand: true + moduleFileExtensions: ['js', 'mjs', 'json'] } diff --git a/package.json b/package.json index 2232114b25..33adf5cd7a 100644 --- a/package.json +++ b/package.json @@ -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",