Commit 3a416e4
committed
test(e2e): add library mode smoke tests
17 e2e tests that verify the bundled output works as a library:
- Bundle structure (no shebang, no warning suppression in library)
- Export shape (sentry, createSentrySDK, SentryError, SentryOptions)
- Variadic API (version, env isolation, error wrapping)
- Typed SDK (namespace methods, auth error handling)
- Type declarations (.d.cts content)
All tests run the bundled dist/index.cjs via Node.js subprocesses
to verify real npm package behavior.1 parent f879136 commit 3a416e4
2 files changed
Lines changed: 305 additions & 85 deletions
0 commit comments