Versions 60 to 61
Lines 7–24 at 61 (were 7–13 at 60)
10−import { boxPublic, boxText, forgetBox, login, logout, mintKey, readBox, writeBox } from "../src/box.ts";
1122
Lines 282–307 at 61 (were 271–273 at 60)
285+
286+test("join and init pick the server: --server, ABSO_SERVER, the box's sign-in, then api.abso.dev (abso issue 349)", () => {
288+ const args = (server?: string) => ({ positionals: [], flags: new Map(server ? [["server", server]] : []) });
290+ assert.equal(serverFrom(args(), none, h), "https://api.abso.dev", "nothing signed in: the abso API");
293+ assert.equal(serverFrom(args(), none, h), SERVER, "the server abso login signed this box in to");
294+ assert.deepEqual(signedInServers(h, Date.now() + 2e6), [], "an expired sign-in doesn't count");
295+ assert.equal(serverFrom(args(), { env: { ABSO_SERVER: "https://env.example" } }, h), "https://env.example");
304+ /signed in to https:\/\/other\.abso\.example and https:\/\/staging\.abso\.example: say which with --server/,
- MCP
- compare on this site's /mcp
- CLI
- abso diff 60 61 client/test/box.test.ts --json
- JSON
- /christopher/abso-core/compare/60..61?file=client%2Ftest%2Fbox.test.ts&format=json