mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-09 08:11:09 +00:00
test: reroute telegram fetch network policy suite
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import fs from "node:fs";
|
||||
import path from "node:path";
|
||||
import { channelTestPrefixes } from "../../vitest.channel-paths.mjs";
|
||||
import { channelTestPrefixes, isChannelSurfaceTestFile } from "../../vitest.channel-paths.mjs";
|
||||
import {
|
||||
isBoundaryTestFile,
|
||||
isBundledPluginDependentUnitTestFile,
|
||||
@@ -127,7 +127,7 @@ export function loadTestCatalog() {
|
||||
surface = "live";
|
||||
} else if (normalizedFile.endsWith(".e2e.test.ts")) {
|
||||
surface = "e2e";
|
||||
} else if (channelTestPrefixes.some((prefix) => normalizedFile.startsWith(prefix))) {
|
||||
} else if (isChannelSurfaceTestFile(normalizedFile)) {
|
||||
surface = "channels";
|
||||
} else if (normalizedFile.startsWith(BUNDLED_PLUGIN_PATH_PREFIX)) {
|
||||
surface = "extensions";
|
||||
|
||||
Reference in New Issue
Block a user