mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 09:07:39 +00:00
fix(test): skip test-utils files in temp path guard
This commit is contained in:
@@ -6,6 +6,7 @@ const DYNAMIC_TMPDIR_JOIN_RE = /path\.join\(os\.tmpdir\(\),\s*`[^`]*\$\{[^`]*`/;
|
|||||||
const RUNTIME_ROOTS = ["src", "extensions"];
|
const RUNTIME_ROOTS = ["src", "extensions"];
|
||||||
const SKIP_PATTERNS = [
|
const SKIP_PATTERNS = [
|
||||||
/\.test\.tsx?$/,
|
/\.test\.tsx?$/,
|
||||||
|
/\.test-utils\.tsx?$/,
|
||||||
/\.e2e\.tsx?$/,
|
/\.e2e\.tsx?$/,
|
||||||
/\.d\.ts$/,
|
/\.d\.ts$/,
|
||||||
/[\\/](?:__tests__|tests)[\\/]/,
|
/[\\/](?:__tests__|tests)[\\/]/,
|
||||||
|
|||||||
Reference in New Issue
Block a user