diff --git a/jest.app.config.js b/jest.app.config.js index 9fb2953b..22f4d9b7 100644 --- a/jest.app.config.js +++ b/jest.app.config.js @@ -3,7 +3,6 @@ const baseConfig = require('./jest.base.config'); module.exports = { ...baseConfig, roots: ['/src'], - modulePathIgnorePatterns: ['/projects'], moduleNameMapper: { 'ngx-testing-library': '/dist/ngx-testing-library', }, diff --git a/package.json b/package.json index 0f5e7960..0008a128 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "build": "ng build --prod ngx-testing-library", "postbuild": "cp ./README.md ./dist/ngx-testing-library", "pretest": "npm run build", - "test": "jest --config ./jest.lib.config.js && npm run build && jest --config ./jest.app.config.js", + "test": "npm run test:lib && npm run build && npm run test:app", "test:lib": "jest --config ./jest.lib.config.js", "test:app": "jest --config ./jest.app.config.js", "precommit": "lint-staged",