Skip to content

Commit e7ad362

Browse files
committed
revert comment changes
1 parent 8707b06 commit e7ad362

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

  • dev-packages/e2e-tests/test-applications/aws-serverless/src

dev-packages/e2e-tests/test-applications/aws-serverless/src/stack.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,13 @@ function samLambdaArchitecture(): 'arm64' | 'x86_64' {
1717
}
1818

1919
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
2022
const workspaceRoot = process.env.SENTRY_E2E_WORKSPACE_ROOT;
2123
if (workspaceRoot) {
2224
return path.join(workspaceRoot, 'packages');
2325
}
26+
// Fallback for local development when running from the original location
2427
return path.resolve(__dirname, '../../../../../packages');
2528
}
2629

0 commit comments

Comments
 (0)