Test code in background.ts and test-content-script.js now only builds
when ENABLE_TESTS=true is set. Production builds (default) exclude test
code completely via esbuild's define feature.
Changes:
- esbuild.config.js: conditionally add test entrypoints and define ENABLE_TESTS
- background.ts: wrap test message listener in if (ENABLE_TESTS) block
- Dockerfile: add test_builder stage that builds with ENABLE_TESTS=true
- package-lock.json: updated from npm install
Verified with typecheck and lint.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Removed all "peer": true additions that were out of scope for this MR
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Restored package-lock.json to commit 165df53 (before MR work began)
to avoid scope creep with peer dependency changes
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Created tests/test-lib.js with testBackgroundComputation() function
- Updated test_verify.py to load and execute test library via Marionette
- Modified Dockerfile to copy both test-lib.js and test_verify.py to /app/tests/
- Improved code organization and reusability
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Dodano .claude do .gitignore (katalog Claude Code)
- Aktualizacja package-lock.json po npm install
- Dodano peer flags w package-lock dla niektórych pakietów
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>