Skip to content

Commit

Permalink
マージキューでだけ落ちるテストを追加してみる (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
sevenc-nanashi authored Jan 5, 2025
1 parent 3f507fb commit 1058397
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/mergeQueueFail.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import * as assert from "node:assert";
import child_process from "node:child_process";
import test from "node:test";

test("マージキューだけ落ちるテスト", async () => {
const stdout = child_process
.execSync("git branch --show-current")
.toString()
.trim();

assert.ok(!stdout.includes("gh-readonly-queue"));
});

0 comments on commit 1058397

Please sign in to comment.