fix: ENG-BUG-REPORTER-011 — Build artifact integration test #30
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/eng-bug-reporter-011"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Automated fix for ENG-BUG-REPORTER-011.
Add tests/integration/build-output.test.ts that validates the dist output after pnpm build: assert dist/index.js (ESM), dist/index.cjs (CJS), and dist/index.d.ts exist and are non-empty. Dynamically import the ESM bundle and assert typeof initBugReporter === 'function'. Assert all exported types are present in dist/index.d.ts (BugReporterConfig, BugReport, CapturedError, FailedRequest, UserAction). Spec at docs/architecture/specs/v01-publish-integration-test.md.