diff --git a/consumer/package.json b/consumer/package.json index bf0978c..1d74c2a 100644 --- a/consumer/package.json +++ b/consumer/package.json @@ -14,7 +14,6 @@ }, "devDependencies": { "@pact-foundation/pact": "13.1.4", - "@testing-library/react": "16.0.1", "@testing-library/user-event": "14.5.2", "nock": "13.5.5", @@ -25,11 +24,11 @@ "scripts": { "start": "react-scripts start", "build": "react-scripts build", - "test": "react-scripts test --transformIgnorePatterns \"node_modules/(?!axios)/\"", + "test": "react-scripts test", "eject": "react-scripts eject", "pretest:pact": "rimraf pacts/*.json", - "test:pact": "cross-env CI=true react-scripts test --testTimeout=30000 pact.spec.js --transformIgnorePatterns \"node_modules/(?!axios)/\"", - "test:unit": "cross-env CI=true react-scripts test api.spec.js --transformIgnorePatterns \"node_modules/(?!axios)/\"" + "test:pact": "cross-env CI=true react-scripts test --testTimeout=30000 pact.spec.js", + "test:unit": "cross-env CI=true react-scripts test api.spec.js" }, "eslintConfig": { "extends": [ @@ -48,5 +47,10 @@ "last 1 firefox version", "last 1 safari version" ] + }, + "jest": { + "transformIgnorePatterns": [ + "node_modules/(?!(axios)/)" + ] } }