Skip to content

Commit d769f45

Browse files
committed
debug
1 parent 24e3d0d commit d769f45

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/integration/production/test/index.test.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ import dynamicImportTests from './dynamic'
2626
import processEnv from './process-env'
2727
import security from './security'
2828
import { promisify } from 'util'
29+
import { error } from 'console'
2930

3031
const glob = promisify(globOriginal)
3132

@@ -56,7 +57,9 @@ describe('Production Usage', () => {
5657
console.log(output)
5758

5859
if (result.code !== 0) {
59-
throw new Error(`Failed to build, exited with code ${result.code}`)
60+
throw new Error(
61+
output
62+
)
6063
}
6164
})
6265
afterAll(async () => {

0 commit comments

Comments
 (0)