mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-15 05:56:11 +00:00
Refactor the Control UI around route-owned page lifecycle and state while preserving existing behavior and design.
Prepared head SHA: bd51b6fa76
Co-authored-by: Shakker <165377636+shakkernerd@users.noreply.github.com>
Reviewed-by: @shakkernerd
9 lines
223 B
JavaScript
9 lines
223 B
JavaScript
// Test routing predicate for Control UI tests.
|
|
export function isUiTestTarget(relative) {
|
|
return (
|
|
relative.startsWith("ui/src/") &&
|
|
relative.endsWith(".test.ts") &&
|
|
!relative.endsWith(".e2e.test.ts")
|
|
);
|
|
}
|