Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update e2e tests (major) #38071

Merged
merged 3 commits into from
May 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions e2e-tests/development-runtime/package.json
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
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