summaryrefslogtreecommitdiff
path: root/integration-tests/test-helper.js
diff options
context:
space:
mode:
authorJacob MacDonald <[email protected]>2025-08-06 13:45:54 -0700
committerGitHub <[email protected]>2025-08-06 20:45:54 +0000
commite3e76777535da2817b5fcac012456db29147059e (patch)
tree6796826c4ba81eccde102976af54fc36a3c9403e /integration-tests/test-helper.js
parentb3cfaeb6d30101262dc2b7350f5a349cd0417386 (diff)
Add integration test for maximum schema depth error handling (#5685)
Diffstat (limited to 'integration-tests/test-helper.js')
-rw-r--r--integration-tests/test-helper.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/integration-tests/test-helper.js b/integration-tests/test-helper.js
index 9526ea5f..e4d55631 100644
--- a/integration-tests/test-helper.js
+++ b/integration-tests/test-helper.js
@@ -258,6 +258,11 @@ export class TestRig {
result = filteredLines.join('\n');
}
+ // If we have stderr output, include that also
+ if (stderr) {
+ result += `\n\nStdErr:\n${stderr}`;
+ }
+
resolve(result);
} else {
reject(new Error(`Process exited with code ${code}:\n${stderr}`));