fix: make dry-run next steps executable
This commit is contained in:
1 parent
1571c524c1
commit
f26eae7b08
2 files changed
+6
-2
No files matched your search
@@ -36,6 +36,8 @@ describe("CLI mutation protocol", () => {
|
||||
expect(preview.dryRun).toBe(true);
|
||||
expect(preview.operation).toBe("同意单据审批");
|
||||
expect(preview.target).toBe("S26000001");
|
||||
expect(preview.nextAction).not.toContain("--dry-run");
|
||||
expect(preview.nextAction).toContain("--yes");
|
||||
});
|
||||
|
||||
test("bill write without confirmation is rejected before the API call", async () => {
|
||||
|
||||
Reference in new issue
Block a user