feat(atlassian): implement milestone M1 - scaffold skill and shared runtime
This commit is contained in:
14
skills/atlassian/shared/scripts/tests/cli-help.test.ts
Normal file
14
skills/atlassian/shared/scripts/tests/cli-help.test.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import test from "node:test";
|
||||
import assert from "node:assert/strict";
|
||||
import { spawnSync } from "node:child_process";
|
||||
|
||||
test("CLI help prints the Atlassian skill banner", () => {
|
||||
const result = spawnSync("pnpm", ["exec", "tsx", "src/cli.ts", "--help"], {
|
||||
cwd: new URL("../", import.meta.url),
|
||||
encoding: "utf8",
|
||||
});
|
||||
|
||||
assert.equal(result.status, 0, result.stderr);
|
||||
assert.match(result.stdout, /Portable Atlassian CLI for multi-agent skills/);
|
||||
assert.match(result.stdout, /Usage:/);
|
||||
});
|
||||
Reference in New Issue
Block a user