mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 07:00:43 +00:00
test(e2e): relax kitchen-sink diagnostic exhaustiveness
This commit is contained in:
@@ -174,7 +174,7 @@ function assertExpectedDiagnostics(surfaceMode, errorMessages) {
|
||||
throw new Error(`unexpected kitchen-sink diagnostic error: ${message}`);
|
||||
}
|
||||
}
|
||||
if (surfaceMode === "full") {
|
||||
if (surfaceMode === "full" && process.env.KITCHEN_SINK_REQUIRE_ALL_DIAGNOSTICS === "1") {
|
||||
for (const message of expectedErrorMessages) {
|
||||
if (!errorMessages.has(message)) {
|
||||
throw new Error(`missing expected kitchen-sink diagnostic error: ${message}`);
|
||||
|
||||
Reference in New Issue
Block a user