feat(spotify): implement milestone M2 auth

This commit is contained in:
2026-04-12 01:36:27 -05:00
parent f7dfb7d71d
commit c8c0876b7c
8 changed files with 670 additions and 5 deletions

View File

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