Summary
Currently, the lack of environment-specific tests allows build regressions to slip through — as seen in #41 (partially reverted in #45).
Goal
Add tests (or CI jobs) that verify the package works correctly in both environments:
- Node.js — ensure the Node.js build is functional and not broken by changes.
- Browser — ensure the browser build is functional and not broken by changes.
Motivation
PR #41 broke the Node.js build without being caught by existing CI. Having dedicated test runs for each target environment would catch such regressions early.
Acceptance Criteria
References
/cc @tomusdrw
Summary
Currently, the lack of environment-specific tests allows build regressions to slip through — as seen in #41 (partially reverted in #45).
Goal
Add tests (or CI jobs) that verify the package works correctly in both environments:
Motivation
PR #41 broke the Node.js build without being caught by existing CI. Having dedicated test runs for each target environment would catch such regressions early.
Acceptance Criteria
References
/cc @tomusdrw