mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-27 12:56:01 -06:00
fix(maint): keep PR landing on squash
This commit is contained in:
@@ -32,13 +32,13 @@ describe("scripts/pr wrappers", () => {
|
||||
expect(script).toContain('exec "$base" merge-run "$pr"');
|
||||
});
|
||||
|
||||
it("uses the repository-approved rebase landing method", () => {
|
||||
it("uses the repository-approved squash landing method", () => {
|
||||
const script = readScript("scripts/pr-lib/merge.sh");
|
||||
|
||||
expect(script).toContain("--rebase");
|
||||
expect(script).not.toContain("--squash");
|
||||
expect(script).toContain("Merged via rebase.");
|
||||
expect(script).not.toContain("Merged via squash.");
|
||||
expect(script).toContain("--squash");
|
||||
expect(script).not.toContain("--rebase");
|
||||
expect(script).toContain("Merged via squash.");
|
||||
expect(script).not.toContain("Merged via rebase.");
|
||||
});
|
||||
|
||||
it("keeps prepare wrapper modes delegated to the main PR helper", () => {
|
||||
|
||||
Reference in New Issue
Block a user