Skip to content

Commit 0eed410

Browse files
committed
refactor(tooling): remove unused cleanup helpers
1 parent b073d7c commit 0eed410

3 files changed

Lines changed: 0 additions & 16 deletions

File tree

extensions/synology-chat/src/channel.integration.test.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// Synology Chat tests cover channel.integration plugin behavior.
2-
import type { IncomingMessage, ServerResponse } from "node:http";
32
import { beforeAll, beforeEach, describe, expect, it, vi } from "vitest";
43
import {
54
buildChannelInboundEventContextMock,
@@ -11,12 +10,6 @@ import {
1110
} from "./channel.test-mocks.js";
1211
import { makeFormBody, makeReq, makeRes } from "./test-http-utils.js";
1312

14-
type _RegisteredRoute = {
15-
path: string;
16-
accountId: string;
17-
handler: (req: IncomingMessage, res: ServerResponse) => Promise<void>;
18-
};
19-
2013
let createSynologyChatPlugin: typeof import("./channel.js").createSynologyChatPlugin;
2114

2215
function makeStartContext<T>(cfg: T, accountId: string, abortSignal: AbortSignal) {

scripts/e2e/parallels/windows-smoke.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -439,11 +439,6 @@ class WindowsSmoke extends SmokeRunController<WindowsOptions> {
439439

440440
private log = (text: string): void => this.phases.append(text);
441441

442-
private guestExec = (
443-
args: string[],
444-
options: { check?: boolean; timeoutMs?: number } = {},
445-
): string => this.guest.exec(args, options);
446-
447442
private guestPowerShell(
448443
script: string,
449444
options: { check?: boolean; timeoutMs?: number } = {},

scripts/github/real-behavior-proof-policy.mjs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -289,10 +289,6 @@ function extractMarkdownSections(headingRegex, body = "") {
289289
return sections;
290290
}
291291

292-
export function extractEvidenceSections(body = "") {
293-
return extractMarkdownSections(/^#{2,6}\s+evidence\b[^\n]*$/im, body);
294-
}
295-
296292
export function hasAuthoredPullRequestSection(heading, body = "") {
297293
const headingPattern = new RegExp(`^#{2,6}\\s+${escapeRegex(heading)}\\b[^\\n]*$`, "im");
298294
return !isMissingValue(extractMarkdownSections(headingPattern, body).at(-1) ?? "");

0 commit comments

Comments
 (0)