feat(spotify): implement milestone M3 api commands

This commit is contained in:
2026-04-12 01:52:18 -05:00
parent c8c0876b7c
commit d8570edcf0
8 changed files with 842 additions and 9 deletions

View File

@@ -74,12 +74,12 @@ test("dispatches known command with json flag", async () => {
test("known unimplemented commands return structured placeholder errors in json mode", async () => {
const stdout = createBuffer();
const stderr = createBuffer();
const code = await runCli(["search", "--json"], { stdout: stdout.stream, stderr: stderr.stream });
const code = await runCli(["import", "--json"], { stdout: stdout.stream, stderr: stderr.stream });
assert.equal(code, 2);
assert.deepEqual(JSON.parse(stdout.output()), {
ok: false,
error: "Command not implemented yet: search"
error: "Command not implemented yet: import"
});
assert.equal(stderr.output(), "");
});