From fc8410cb929191996ed86aa217811c0769c0eae0 Mon Sep 17 00:00:00 2001 From: Jason Quesenberry Date: Mon, 9 Dec 2024 09:30:00 -0700 Subject: [PATCH] Adds additional context to error messages for pools and workflows integration test. --- .../tests/scenario-auto-confirm.integration.test.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/javascriptv3/example_code/cross-services/wkflw-pools-triggers/tests/scenario-auto-confirm.integration.test.js b/javascriptv3/example_code/cross-services/wkflw-pools-triggers/tests/scenario-auto-confirm.integration.test.js index e3d05384fe1..582bf49666a 100644 --- a/javascriptv3/example_code/cross-services/wkflw-pools-triggers/tests/scenario-auto-confirm.integration.test.js +++ b/javascriptv3/example_code/cross-services/wkflw-pools-triggers/tests/scenario-auto-confirm.integration.test.js @@ -42,7 +42,9 @@ describe("Scenario - AutoConfirm", () => { ); const stack = Stacks[0]; if (stack.StackStatus !== "CREATE_COMPLETE") { - throw new Error("Stack creation incomplete."); + throw new Error( + `Stack creation incomplete. STATUS: ${stack.StackStatus}`, + ); } }, );