diff --git a/test/integration/production/test/index.test.js b/test/integration/production/test/index.test.js index 5276dbf5db56..a10a9bc17ece 100644 --- a/test/integration/production/test/index.test.js +++ b/test/integration/production/test/index.test.js @@ -56,7 +56,10 @@ describe('Production Usage', () => { console.log(output) if (result.code !== 0) { - throw new Error(`Failed to build, exited with code ${result.code}`) + throw new Error( + `Failed to build, exited with code ${result.code}`, + output + ) } }) afterAll(async () => {