mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-21 19:15:47 +00:00
test(e2e): relax kitchen-sink diagnostic exhaustiveness
This commit is contained in:
parent
5f5e0a3633
commit
9891f30422
1 changed files with 1 additions and 1 deletions
|
|
@ -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}`);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue