Versions 280 to 281
Lines 211–235 at 281 (were 211–231 at 280)
211211
212212test("plainError words a refusal by whether a credential went, and a server that can't be reached", () => {
214− assert.equal(plainError(refused, false), "You're not signed in. Run abso login, then abso join <project>.");
215− assert.match(plainError(refused, true)!, /^The server didn't accept this folder's key.*abso doctor checks it/);
214+ assert.equal(plainError(refused, undefined), "You're not signed in. Run abso login, then abso join <project>.");
217− plainError(new ApiError("could not reach https://api.abso.dev: connect ECONNREFUSED"), true),
221+ plainError(new ApiError("could not reach https://api.abso.dev: connect ECONNREFUSED"), "this folder's key"),
218222 "Can't reach https://api.abso.dev: connect ECONNREFUSED. Check your connection; abso doctor checks the rest.",
222226 new ApiError("could not reach http://x: refused. Nothing was pushed. Run the same command again."),
223− true,
227− assert.equal(plainError(new ApiError("GET /log answered 500: boom", 500), true), undefined);
228− assert.equal(plainError(new Error("anything else"), true), undefined);
231+ assert.equal(plainError(new ApiError("GET /log answered 500: boom", 500), "this folder's key"), undefined);
230234
231235test("whoami with nothing named shows prod, and names the other servers this box is signed in to", async () => {
- MCP
- compare on this site's /mcp
- CLI
- abso diff 280 281 client/test/doctor.test.ts --json
- JSON
- /christopher/abso-core/compare/280..281?file=client%2Ftest%2Fdoctor.test.ts&format=json