Skip to content

test(WaveSurfer): add unit tests for public API#4115

Merged
katspaugh merged 1 commit intomainfrom
codex/add-unit-tests-for-public-methods-in-wavesurfer.ts
Jun 24, 2025
Merged

test(WaveSurfer): add unit tests for public API#4115
katspaugh merged 1 commit intomainfrom
codex/add-unit-tests-for-public-methods-in-wavesurfer.ts

Conversation

@katspaugh
Copy link
Owner

Short description

Add unit tests for all WaveSurfer public methods.

Implementation details

  • Mocked Renderer, Timer, and Decoder to isolate the class
  • Added wavesurfer.test.ts covering each public API method

How to test it

  • yarn test:unit
  • yarn lint (fails: Invalid option '--ext')

Checklist

  • This PR is covered by e2e tests
  • It introduces no breaking API changes

https://chatgpt.com/codex/tasks/task_b_685a83ca4228832f8eae1124333f6eee

@katspaugh katspaugh merged commit f05e7c1 into main Jun 24, 2025
6 checks passed
@katspaugh katspaugh deleted the codex/add-unit-tests-for-public-methods-in-wavesurfer.ts branch June 24, 2025 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant