Skip to content

Commit

Permalink
fix(deps): update e2e tests (major) (#38071)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: LekoArts <lekoarts@gmail.com>
  • Loading branch information
renovate[bot] and LekoArts committed May 8, 2023
1 parent 9bb9037 commit 22394b9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
6 changes: 3 additions & 3 deletions e2e-tests/development-runtime/package.json
Expand Up @@ -19,7 +19,7 @@
"gatsby-transformer-json": "next",
"gatsby-transformer-remark": "next",
"gatsby-transformer-sharp": "next",
"node-fetch": "^2.6.9",
"node-fetch": "^3.3.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"sass": "^1.62.1"
Expand All @@ -44,8 +44,8 @@
"reset": "node scripts/reset.js",
"reset:preview": "curl -X POST http://localhost:8000/__refresh",
"update": "node scripts/update.js",
"update:webhook": "node scripts/webhook.js",
"update:cms-webhook": "node scripts/cms-webhook.js",
"update:webhook": "node scripts/webhook.mjs",
"update:cms-webhook": "node scripts/cms-webhook.mjs",
"update:preview": "curl -X POST -d \"{ \\\"fake-data-update\\\": true }\" -H \"Content-Type: application/json\" http://localhost:8000/__refresh",
"start-server-and-test": "start-server-and-test develop http://localhost:8000 serve-static-files http://localhost:8888 combined",
"start-server-and-test:locally": "start-server-and-test develop http://localhost:8000 serve-static-files http://localhost:8888 cy:open",
Expand Down
@@ -1,4 +1,4 @@
const fetch = require(`node-fetch`)
import fetch from "node-fetch"

fetch(`http://localhost:8000/__refresh/${process.argv[2]}`, {
method: `POST`,
Expand Down
@@ -1,4 +1,4 @@
const fetch = require(`node-fetch`)
import fetch from "node-fetch"

fetch(`http://localhost:8000/__refresh`, {
method: `POST`,
Expand Down
1 change: 0 additions & 1 deletion e2e-tests/production-runtime/package.json
Expand Up @@ -16,7 +16,6 @@
"gatsby-plugin-sharp": "next",
"gatsby-plugin-stylus": "next",
"gatsby-source-filesystem": "next",
"glob": "^8.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"sass": "^1.62.1",
Expand Down

0 comments on commit 22394b9

Please sign in to comment.