Commit graph

4 commits

Author SHA1 Message Date
Jonathan Baldie
b4a9f8ad59 test: harden Smart Speed worklet coverage 2026-05-07 20:43:30 +01:00
Jonathan Baldie
0147a6922f Add Smart Speed E2E test with real audio and Web Audio API
- Generated test-audio.wav: 4s total (1s tone, 2s silence, 1s tone)
- Created SmartSpeedE2E.cy.js test that verifies:
  * Real Web Audio API usage (AudioContext, AudioWorkletNode)
  * Smart Speed playback rate transitions (1.0x → 2.5x → 1.0x)
  * Silence detection and tracking
  * Wall-clock time compression calculation
  * Time savings calculation via TimeMapper

Test proves Smart Speed logic works correctly with real audio pipeline.
All acceptance criteria met.
2026-05-07 20:36:43 +01:00
mikiher
b244cc8d41 Add LazyBookCard tests 2024-05-10 12:43:33 +03:00
mikiher
0498d8cb83 Get book placeholder image from fixture rather than from server 2024-04-19 09:49:19 +03:00