mirror of
https://github.com/moltbot/moltbot.git
synced 2026-04-27 00:17:29 +00:00
Tests: make seam guardrails path-safe
This commit is contained in:
@@ -190,8 +190,8 @@ function collectExtensionSourceFiles(): string[] {
|
||||
fullPath.includes(".fixture.") ||
|
||||
fullPath.includes(".snap") ||
|
||||
fullPath.includes("test-support") ||
|
||||
fullPath.endsWith("/api.ts") ||
|
||||
fullPath.endsWith("/runtime-api.ts")
|
||||
entry.name === "api.ts" ||
|
||||
entry.name === "runtime-api.ts"
|
||||
) {
|
||||
continue;
|
||||
}
|
||||
@@ -269,7 +269,7 @@ function collectExtensionFiles(extensionId: string): string[] {
|
||||
fullPath.includes(".spec.") ||
|
||||
fullPath.includes(".fixture.") ||
|
||||
fullPath.includes(".snap") ||
|
||||
fullPath.endsWith("/runtime-api.ts")
|
||||
entry.name === "runtime-api.ts"
|
||||
) {
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user