Tests: make seam guardrails path-safe

This commit is contained in:
Vincent Koc 2026-03-17 20:44:37 -07:00
parent 2c35faf437
commit 4c9028439c

View File

@ -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;
}