File tree Expand file tree Collapse file tree 2 files changed +11
-11
lines changed
test/binCases/errors/child-compilation-error Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 33module . exports = function testAssertions ( code , stdout , stderr ) {
44 code . should . be . eql ( 2 ) ;
55
6- stdout [ 0 ] . should . containEql ( "Hash: " ) ;
7- stdout [ 1 ] . should . containEql ( "Version: " ) ;
8- stdout [ 2 ] . should . containEql ( "Time: " ) ;
9- stdout [ 5 ] . should . containEql ( "./index.js" ) ;
10- stdout [ 8 ] . should . containEql ( "ERROR in child compilation" ) ;
6+ stdout [ 0 ] . should . containEql ( "Hash: " ) ;
7+ stdout [ 1 ] . should . containEql ( "Version: " ) ;
8+ stdout [ 2 ] . should . containEql ( "Time: " ) ;
9+ stdout [ 5 ] . should . containEql ( "./index.js" ) ;
10+ stdout [ 8 ] . should . containEql ( "ERROR in child compilation" ) ;
1111
12- stderr . should . be . empty ( ) ;
12+ stderr . should . be . empty ( ) ;
1313} ;
Original file line number Diff line number Diff line change 11"use strict" ;
22
33module . exports = {
4- entry : "./index" ,
5- output : {
6- filename : "bundle.js"
7- } ,
8- plugins : [ {
4+ entry : "./index" ,
5+ output : {
6+ filename : "bundle.js"
7+ } ,
8+ plugins : [ {
99 apply ( compiler ) {
1010 compiler . plugin ( "make" , ( compilation , cb ) => {
1111 const child = compilation . createChildCompiler ( "child" , { } ) ;
You can’t perform that action at this time.
0 commit comments