fix: ENG-BUG-REPORTER-011 — Build artifact integration test #30

Merged
haskos-bot merged 1 commit from feat/eng-bug-reporter-011 into dev 2026-06-24 13:09:41 +00:00
Owner

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.

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.
test: ENG-BUG-REPORTER-011 — build artifact integration test
All checks were successful
CI / Detect Changes (pull_request) Successful in 5s
CI / Build & Lint (pull_request) Successful in 16s
CI / Docker Build (pull_request) Successful in 36s
12ac8d9afb
Add tests/integration/build-output.test.ts validating:
- dist/index.js (ESM), dist/index.cjs (CJS), dist/index.d.ts exist and non-empty
- ESM bundle exports initBugReporter (verified via bundle content inspection
  due to browser-only DOM APIs in the bundle preventing bare Node import)
- All 5 types declared in index.d.ts: BugReporterConfig, BugReport,
  CapturedError, FailedRequest, UserAction

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
haskos-bot scheduled this pull request to auto merge when all checks succeed 2026-06-24 13:08:40 +00:00
haskos-bot deleted branch feat/eng-bug-reporter-011 2026-06-24 13:09:41 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
haskytech/bug-reporter!30
No description provided.