binect-chrome/tests
tegwick 5bde27dcdd Fix base64 encoding for browser environment
The bufferToBase64 function from @binect/js expects Node.js Buffer
objects but was receiving browser ArrayBuffer, causing "[object ArrayBuffer]"
to be sent instead of valid base64. Use browser-native btoa() instead.

Also updates tests to work with @binect/js integration.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-15 14:41:44 +01:00
..
__mocks__/@binect Fix base64 encoding for browser environment 2026-01-15 14:41:44 +01:00
binect-api.test.ts Fix base64 encoding for browser environment 2026-01-15 14:41:44 +01:00
crypto.test.ts Release 0.1: Complete BinectChrome implementation 2026-01-13 00:30:39 +01:00
pdf-detector.test.ts Release 0.1: Complete BinectChrome implementation 2026-01-13 00:30:39 +01:00
setup.ts Release 0.1: Complete BinectChrome implementation 2026-01-13 00:30:39 +01:00
tracker.test.ts Release 0.1: Complete BinectChrome implementation 2026-01-13 00:30:39 +01:00