test(FN-4349): complete Step 6 — align block-path tests with new default
Fusion-Task-Id: FN-4349 Fusion-Task-Lineage: 7fa7b0ee-7705-4728-b425-1a3ac45e75a2
This commit is contained in:
@@ -2649,7 +2649,7 @@ describe("aiMergeTask post-squash audit gate", () => {
|
||||
issueCount: 1,
|
||||
clean: false,
|
||||
});
|
||||
const store = createAuditStore();
|
||||
const store = createAuditStore({ postMergeAuditMode: "block" });
|
||||
|
||||
await expect(aiMergeTask(store, "/tmp/root", "FN-050")).rejects.toThrow(
|
||||
"FN-050: post-squash audit blocked auto-completion for mergedco",
|
||||
@@ -2692,7 +2692,7 @@ describe("aiMergeTask post-squash audit gate", () => {
|
||||
issueCount: 1,
|
||||
clean: false,
|
||||
});
|
||||
const store = createAuditStore();
|
||||
const store = createAuditStore({ postMergeAuditMode: "block" });
|
||||
|
||||
await expect(aiMergeTask(store, "/tmp/root", "FN-050")).rejects.toThrow(
|
||||
"FN-050: post-squash audit blocked auto-completion for mergedco",
|
||||
@@ -2738,7 +2738,7 @@ describe("aiMergeTask post-squash audit gate", () => {
|
||||
issueCount: 2,
|
||||
clean: false,
|
||||
});
|
||||
const store = createAuditStore();
|
||||
const store = createAuditStore({ postMergeAuditMode: "block" });
|
||||
|
||||
await expect(aiMergeTask(store, "/tmp/root", "FN-050")).rejects.toThrow(/post-squash audit blocked auto-completion/);
|
||||
|
||||
@@ -2794,6 +2794,7 @@ describe("aiMergeTask post-squash audit gate", () => {
|
||||
const store = createAuditStore({
|
||||
mergeConflictStrategy: "smart-prefer-main",
|
||||
worktreeRebaseBeforeMerge: true,
|
||||
postMergeAuditMode: "block",
|
||||
});
|
||||
|
||||
await expect(aiMergeTask(store, "/tmp/root", "FN-050")).rejects.toThrow(/post-squash audit blocked auto-completion/);
|
||||
|
||||
Reference in New Issue
Block a user