feat(scripts): pnpm work ready + blocked subcommands, DAG-aware next
This commit is contained in:
@@ -21,6 +21,8 @@ describe("pnpm work cli", () => {
|
||||
expect(out).toContain("rebuild-state");
|
||||
expect(out).toContain("status");
|
||||
expect(out).toContain("next");
|
||||
expect(out).toContain("ready");
|
||||
expect(out).toContain("blocked");
|
||||
});
|
||||
|
||||
it("rebuild-state writes _state.json", () => {
|
||||
@@ -39,4 +41,14 @@ describe("pnpm work cli", () => {
|
||||
const out = run("next");
|
||||
expect(out.length).toBeGreaterThan(0);
|
||||
});
|
||||
|
||||
it("ready prints something", () => {
|
||||
const out = run("ready");
|
||||
expect(out.length).toBeGreaterThan(0);
|
||||
});
|
||||
|
||||
it("blocked prints something", () => {
|
||||
const out = run("blocked");
|
||||
expect(out.length).toBeGreaterThan(0);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user