Skip to content

Commit

Permalink
Upgrade @cypress/webpack-preprocessor and move dev deps to devDeps
Browse files Browse the repository at this point in the history
Started getting a cryptic `TypeError: err.replace is not a function`
error when trying to run cypress tests locally.

As per suggestion in this GH comment, upgraded and solved problem:

cypress-io/cypress#8948 (comment)
  • Loading branch information
Benjamin White committed May 24, 2022
1 parent 3587178 commit 96f8082
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 20 deletions.
28 changes: 11 additions & 17 deletions spa/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions spa/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"dependencies": {
"@analytics/google-analytics": "^0.5.3",
"@craco/craco": "^5.9.0",
"@cypress/webpack-preprocessor": "4.1.5",
"@date-io/date-fns": "^1.3.13",
"@fortawesome/fontawesome-svg-core": "^1.2.35",
"@fortawesome/free-solid-svg-icons": "^5.15.3",
Expand All @@ -29,7 +28,6 @@
"draftjs-to-html": "^0.9.1",
"eslint": "^7.25.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-cypress": "^2.11.3",
"find-webpack": "^2.2.1",
"framer-motion": "^5.3.0",
"html-to-draftjs": "^1.5.0",
Expand Down Expand Up @@ -126,8 +124,10 @@
"devDependencies": {
"@cypress/react": "^5.9.4",
"@cypress/webpack-dev-server": "1.7.0",
"@cypress/webpack-preprocessor": "^5.11.1",
"cypress": "^8.5.0",
"cypress-localstorage-commands": "^1.7.0",
"eslint-plugin-chai-friendly": "^0.7.1"
"eslint-plugin-chai-friendly": "^0.7.1",
"eslint-plugin-cypress": "^2.11.3"
}
}

0 comments on commit 96f8082

Please sign in to comment.