We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8707b06 commit e7ad362Copy full SHA for e7ad362
1 file changed
dev-packages/e2e-tests/test-applications/aws-serverless/src/stack.ts
@@ -17,10 +17,13 @@ function samLambdaArchitecture(): 'arm64' | 'x86_64' {
17
}
18
19
function resolvePackagesDir(): string {
20
+ // When running via the e2e test runner, tests are copied to a temp directory
21
+ // so we need the workspace root passed via env var
22
const workspaceRoot = process.env.SENTRY_E2E_WORKSPACE_ROOT;
23
if (workspaceRoot) {
24
return path.join(workspaceRoot, 'packages');
25
26
+ // Fallback for local development when running from the original location
27
return path.resolve(__dirname, '../../../../../packages');
28
29
0 commit comments