From d769f453a41c40a48288830e6cd21cb1285ba91e Mon Sep 17 00:00:00 2001 From: OJ Kwon Date: Mon, 21 Mar 2022 13:58:23 -0700 Subject: [PATCH] debug --- test/integration/production/test/index.test.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/integration/production/test/index.test.js b/test/integration/production/test/index.test.js index 5276dbf5db56..39206606c790 100644 --- a/test/integration/production/test/index.test.js +++ b/test/integration/production/test/index.test.js @@ -26,6 +26,7 @@ import dynamicImportTests from './dynamic' import processEnv from './process-env' import security from './security' import { promisify } from 'util' +import { error } from 'console' const glob = promisify(globOriginal) @@ -56,7 +57,9 @@ describe('Production Usage', () => { console.log(output) if (result.code !== 0) { - throw new Error(`Failed to build, exited with code ${result.code}`) + throw new Error( + output + ) } }) afterAll(async () => {