test(tasks): update registry seam allowlist

This commit is contained in:
Peter Steinberger
2026-03-31 20:08:42 +01:00
parent a23b4dd5bc
commit cc278a76a4

View File

@@ -5,11 +5,7 @@ import { describe, expect, it } from "vitest";
const TASK_ROOT = path.resolve(import.meta.dirname);
const SRC_ROOT = path.resolve(TASK_ROOT, "..");
const ALLOWED_IMPORTERS = new Set([
"tasks/runtime-internal.ts",
"tasks/task-executor.ts",
"tasks/task-owner-access.ts",
]);
const ALLOWED_IMPORTERS = new Set(["tasks/runtime-internal.ts", "tasks/task-owner-access.ts"]);
async function listSourceFiles(root: string): Promise<string[]> {
const entries = await fs.readdir(root, { withFileTypes: true });