Skip to content

Commit 5651752

Browse files
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 869d4e4 commit 5651752

2 files changed

Lines changed: 305 additions & 85 deletions

File tree

0 commit comments

Comments
 (0)