Skip to content

Commit

Permalink
chore: fix axios import #158
Browse files Browse the repository at this point in the history
  • Loading branch information
YOU54F committed Oct 21, 2024
1 parent d6c18a3 commit 945af39
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions consumer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,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": [
Expand All @@ -47,5 +47,10 @@
"last 1 firefox version",
"last 1 safari version"
]
},
"jest": {
"transformIgnorePatterns": [
"node_modules/(?!(axios)/)"
]
}
}

0 comments on commit 945af39

Please sign in to comment.