Skip to content

Commit b84c23f

Browse files
authored
test(e2e): Ensure sveltekit E2E test work with prereleases (#8372)
Since @sentry/sveltekit depends on @sentry/vite-plugin, which in turn depens on `@sentry/node@^7.19.0` & `@sentry/tracing@^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.
1 parent e5e6a6b commit b84c23f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

packages/e2e-tests/test-applications/sveltekit/package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,11 @@
2727
"vite": "^4.2.0",
2828
"wait-port": "1.0.4"
2929
},
30+
"pnpm": {
31+
"overrides": {
32+
"@sentry/node": "*",
33+
"@sentry/tracing": "*"
34+
}
35+
},
3036
"type": "module"
3137
}

0 commit comments

Comments
 (0)