We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24e3d0d commit d769f45Copy full SHA for d769f45
test/integration/production/test/index.test.js
@@ -26,6 +26,7 @@ import dynamicImportTests from './dynamic'
26
import processEnv from './process-env'
27
import security from './security'
28
import { promisify } from 'util'
29
+import { error } from 'console'
30
31
const glob = promisify(globOriginal)
32
@@ -56,7 +57,9 @@ describe('Production Usage', () => {
56
57
console.log(output)
58
59
if (result.code !== 0) {
- throw new Error(`Failed to build, exited with code ${result.code}`)
60
+ throw new Error(
61
+ output
62
+ )
63
}
64
})
65
afterAll(async () => {
0 commit comments