mirror of
https://github.com/gesellix/Bose-SoundTouch.git
synced 2026-09-07 15:07:17 +00:00
main already runs the player's static JS unit tests via `make test-frontend` over pkg/service/soundtouchweb/frontend_test/*.test.mjs, wired into .github/workflows/browser-tests.yml. That target was added by PR #672 and this change predates it. api.test.mjs was placed in static/js/ instead and run by a second `node --test` invocation bolted onto test-browser, behind a new NODE variable. That is a parallel test-wiring convention for one file, and it also mixes a test into the directory that is served to browsers as static assets. Move the file next to the other frontend tests and revert the Makefile change; the existing target and CI job pick it up unchanged. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>