mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-10 08:41:13 +00:00
7 lines
316 B
TypeScript
7 lines
316 B
TypeScript
// Lit emits a one-time dev-mode warning in test builds. Pre-mark it as issued
|
|
// so broad UI suites stay signal-heavy instead of repeating the same console.warn.
|
|
const issuedWarnings = ((globalThis as { litIssuedWarnings?: Set<string> }).litIssuedWarnings ??=
|
|
new Set<string>());
|
|
|
|
issuedWarnings.add("dev-mode");
|