Loading files
56ae2e47fThis file is pinned to the selected release. Download the original to open it in your design tool.
Files from this revision, including CAD and LFS contents. Git history is not included.
Or in GitHub Desktop, choose File → Clone repository → URL and paste this address.
Public repositories can be cloned without signing in. For pushing, use your ThingAtlas username and a Git access token as the password.
git lfs install git clone https://thingatlas.com/git/-unclaimed/openharness-1322671404.git
Includes Git history, branches, and Git LFS files. Clones the repository’s default branch, regardless of the version shown here.
56ae2e47fThis file is pinned to the selected release. Download the original to open it in your design tool.
import { describe, expect, it } from "vitest";
import { INSTALL_COMMAND, INSTALL_URL } from "./installCommand";
/**
* Nothing pinned this before: ConnectComputer.spec only checked the copy button and connect/page.spec
* only checked `harness login` / `harness start`, so a wrong installer URL would have shipped green.
* A 404 does surface as `curl: (22) …` on stderr, but the pipeline still exits 0 — so any caller that
* checks only the exit status treats a failed install as a success.
*/
describe("install command", () => {
it("uses the short public installer URL", () => {
expect(INSTALL_URL).toBe("https://harness.autonomous.ai/install.sh");
});
it("is the documented one-liner, verbatim", () => {
expect(INSTALL_COMMAND).toBe("curl -fsSL https://harness.autonomous.ai/install.sh | bash");
});
});