Skip to content

Commit b824776

Browse files
committed
better error reporting in config cases
1 parent 6bb2436 commit b824776

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎test/ConfigTestCases.test.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ describe("ConfigTestCases", () => {
7171
webpack(options, (err, stats) => {
7272
if(err) {
7373
const fakeStats = {
74-
errors: [err]
74+
errors: [err.stack]
7575
};
7676
if(checkArrayExpectation(testDirectory, fakeStats, "error", "Error", done)) return;
7777
// Wait for uncatched errors to occur

0 commit comments

Comments
 (0)