Skip to content

Commit

Permalink
Upgrading Testing Deps (#3976)
Browse files Browse the repository at this point in the history
* Upgrading Testing Deps
Upgrading Jest & Vitest with any adjacent tooling
* Move Jest Deps into packages that are using them rather than in root in a monolithic pattern
* New Jest can be configured to keep the escaping behavior
  • Loading branch information
JacobMGEvans authored Sep 19, 2023
1 parent 0a8d97c commit 291c78b
Show file tree
Hide file tree
Showing 6 changed files with 1,097 additions and 742 deletions.
2 changes: 1 addition & 1 deletion fixtures/pages-functions-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"devDependencies": {
"@cloudflare/workers-tsconfig": "workspace:*",
"@cloudflare/workers-types": "^4.20221111.1",
"pages-plugin-example": "*",
"pages-plugin-example": "workspace:*",
"undici": "^5.9.1",
"wrangler": "workspace:*"
},
Expand Down
2 changes: 1 addition & 1 deletion fixtures/pages-plugin-mounted-on-root-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"devDependencies": {
"@cloudflare/workers-tsconfig": "workspace:*",
"@cloudflare/workers-types": "^4.20221111.1",
"pages-plugin-example": "*",
"pages-plugin-example": "workspace:*",
"undici": "^5.9.1",
"wrangler": "workspace:*"
},
Expand Down
5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,12 @@
"dependencies": {
"@changesets/changelog-github": "^0.4.5",
"@changesets/cli": "^2.22.0",
"@types/jest": "^28.1.6",
"@types/node": "^20.0.0",
"@typescript-eslint/eslint-plugin": "^5.59.9",
"@typescript-eslint/parser": "^5.59.9",
"cross-env": "^7.0.3",
"esbuild-jest": "0.5.0",
"esbuild-register": "^3.3.2",
"esbuild-register": "^3.5.0",
"ioredis": "^4.28.2",
"jest": "^28.1.3",
"jsonc-parser": "^3.2.0",
"prettier": "^2.6.2",
"prettier-plugin-packagejson": "^2.2.18",
Expand Down
13 changes: 10 additions & 3 deletions packages/wrangler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,11 @@
},
"transformIgnorePatterns": [
"node_modules/.pnpm/(?!find-up|locate-path|p-locate|p-limit|p-timeout|p-queue|yocto-queue|path-exists|execa|strip-final-newline|npm-run-path|path-key|onetime|mimic-fn|human-signals|is-stream|get-port|supports-color|pretty-bytes|npx-import)"
]
],
"snapshotFormat": {
"escapeString": true,
"printBasicPrototype": true
}
},
"dependencies": {
"@cloudflare/kv-asset-handler": "^0.2.0",
Expand Down Expand Up @@ -136,6 +140,9 @@
"@types/ws": "^8.5.3",
"@types/yargs": "^17.0.10",
"@webcontainer/env": "^1.1.0",
"@types/jest": "^29.5.5",
"esbuild-jest": "0.5.0",
"jest": "^29.7.0",
"body-parser": "^1.20.0",
"chalk": "^2.4.2",
"cli-table3": "^0.6.3",
Expand All @@ -162,7 +169,7 @@
"is-ci": "^3.0.1",
"javascript-time-ago": "^2.5.4",
"jest-fetch-mock": "^3.0.3",
"jest-websocket-mock": "^2.3.0",
"jest-websocket-mock": "^2.5.0",
"mime": "^3.0.0",
"minimatch": "^5.1.0",
"msw": "^0.49.1",
Expand All @@ -186,7 +193,7 @@
"ts-dedent": "^2.2.0",
"undici": "5.20.0",
"update-check": "^1.5.4",
"vitest": "^0.31.0",
"vitest": "^0.34.4",
"ws": "^8.5.0",
"xdg-app-paths": "^7.3.0",
"yargs": "^17.4.1",
Expand Down
Loading

0 comments on commit 291c78b

Please sign in to comment.