diff --git a/Makefile b/Makefile index 0b576639..38814782 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,6 @@ GOTEST=$(GOCMD) test GOGET=$(GOCMD) get GOMOD=$(GOCMD) mod GOFMT=gofmt -NODE?=node # Build parameters BINARY_NAME=soundtouch-cli @@ -156,7 +155,6 @@ test-coverage: test-browser: @echo "Running browser-level compatibility tests..." $(GOTEST) -tags browsertest -v ./pkg/service/soundtouchweb/... - $(NODE) --test pkg/service/soundtouchweb/static/js/api.test.mjs # Unit tests for the embedded player's static JS modules (see # pkg/service/soundtouchweb/frontend_test/), run via Node's built-in test diff --git a/pkg/service/soundtouchweb/static/js/api.test.mjs b/pkg/service/soundtouchweb/frontend_test/api.test.mjs similarity index 97% rename from pkg/service/soundtouchweb/static/js/api.test.mjs rename to pkg/service/soundtouchweb/frontend_test/api.test.mjs index 2753f835..99b43a37 100644 --- a/pkg/service/soundtouchweb/static/js/api.test.mjs +++ b/pkg/service/soundtouchweb/frontend_test/api.test.mjs @@ -1,7 +1,7 @@ import assert from 'node:assert/strict'; import test from 'node:test'; -import { api } from './api.js'; +import { api } from '../static/js/api.js'; test('selectSource posts the exact source and account body', async () => { const requests = [];