Skip to content

abso-core

Public

abso is version control for agents: the client, the engine and a server you can run on your own Cloudflare account.

Check passed
MCP
code on this site's /mcp
CLI
none: the JSON below is the answer
JSON
/christopher/abso-core/files/client/test/push-ci-where.test.ts?format=json
23 linesonboard 100%Last change onboard in version 225, 1 version changed it
1// After "Pushed version N.", the push says whether CI will check it, from the server's `ciWhere`.
2
3import assert from "node:assert/strict";
4import { test } from "node:test";
5import { ciWhereText } from "../src/publish-commands.ts";
6
7test("CI off: the version isn't checked, and where to turn it on", () => {
8 assert.deepEqual(ciWhereText("off", 1), [
9 "CI is off for this project, so version 1 isn't checked. Connect a Cloudflare account in the project's settings on the website to run it there.",
10 ]);
11});
13test("CI in the project's Cloudflare account: where to see the result", () => {
14 assert.deepEqual(ciWhereText("account", 7), [
15 "CI checks it in the project's Cloudflare account: abso ci 7 shows the result.",
16 ]);
17});
19test("the server's own compute, a server that doesn't say, or a word this client doesn't know: nothing added", () => {
20 assert.deepEqual(ciWhereText("abso", 3), []);
21 assert.deepEqual(ciWhereText(undefined, 3), []);
22 assert.deepEqual(ciWhereText("somewhere-new", 3), []);
23});