Skip to content

Commit

Permalink
test(e2e): Ensure sveltekit E2E test work with prereleases
Browse files Browse the repository at this point in the history
Since @sentry/sveltekit depends on @sentry/vite-plugin, which in turn depens on `@sentry/node@^7.19.0`, this fails to install in E2E tests for pre-release versions (e.g. 7.57.0-beta.0`), as the prerelease does not satisfy the range `^7.19.0`. So we override this to `*` to ensure this works as expected.
  • Loading branch information
mydea committed Jun 20, 2023
1 parent 6095fb4 commit 14e8dbf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/e2e-tests/test-applications/sveltekit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,11 @@
"vite": "^4.2.0",
"wait-port": "1.0.4"
},
"pnpm": {
"overrides": {
"@sentry/node": "*",
"@sentry/tracing": "*"
}
},
"type": "module"
}

0 comments on commit 14e8dbf

Please sign in to comment.