@@ -15,7 +15,7 @@ describe('Configuration', () => {
1515 before ( ( ) => {
1616 expectedDefaults = {
1717 webpackConfig : 'webpack.config.js' ,
18- webpackIncludeModules : false ,
18+ includeModules : false ,
1919 packager : 'npm' ,
2020 packExternalModulesMaxBuffer : 200 * 1024 ,
2121 config : null
@@ -39,7 +39,7 @@ describe('Configuration', () => {
3939 it ( 'should use custom.webpackIncludeModules' , ( ) => {
4040 const testCustom = { webpackIncludeModules : { forceInclude : [ 'mod1' ] } } ;
4141 const config = new Configuration ( testCustom ) ;
42- expect ( config ) . to . have . a . property ( 'webpackIncludeModules ' ) . that . deep . equals ( testCustom . webpackIncludeModules ) ;
42+ expect ( config ) . to . have . a . property ( 'includeModules ' ) . that . deep . equals ( testCustom . webpackIncludeModules ) ;
4343 } ) ;
4444
4545 it ( 'should use custom.packExternalModulesMaxBuffer' , ( ) => {
@@ -66,10 +66,10 @@ describe('Configuration', () => {
6666 webpack : 'myWebpackFile.js'
6767 } ;
6868 const config = new Configuration ( testCustom ) ;
69- expect ( config ) . to . have . a . property ( 'webpackIncludeModules ' ) . that . deep . equals ( testCustom . webpackIncludeModules ) ;
69+ expect ( config ) . to . have . a . property ( 'includeModules ' ) . that . deep . equals ( testCustom . webpackIncludeModules ) ;
7070 expect ( config . _config ) . to . deep . equal ( {
7171 webpackConfig : 'myWebpackFile.js' ,
72- webpackIncludeModules : { forceInclude : [ 'mod1' ] } ,
72+ includeModules : { forceInclude : [ 'mod1' ] } ,
7373 packager : 'npm' ,
7474 packExternalModulesMaxBuffer : 200 * 1024 ,
7575 config : null
@@ -81,14 +81,14 @@ describe('Configuration', () => {
8181 it ( 'should use it and add any defaults' , ( ) => {
8282 const testCustom = {
8383 webpack : {
84- webpackIncludeModules : { forceInclude : [ 'mod1' ] } ,
84+ includeModules : { forceInclude : [ 'mod1' ] } ,
8585 webpackConfig : 'myWebpackFile.js'
8686 }
8787 } ;
8888 const config = new Configuration ( testCustom ) ;
8989 expect ( config . _config ) . to . deep . equal ( {
9090 webpackConfig : 'myWebpackFile.js' ,
91- webpackIncludeModules : { forceInclude : [ 'mod1' ] } ,
91+ includeModules : { forceInclude : [ 'mod1' ] } ,
9292 packager : 'npm' ,
9393 packExternalModulesMaxBuffer : 200 * 1024 ,
9494 config : null
@@ -99,14 +99,14 @@ describe('Configuration', () => {
9999 const testCustom = {
100100 webpackIncludeModules : { forceExclude : [ 'mod2' ] } ,
101101 webpack : {
102- webpackIncludeModules : { forceInclude : [ 'mod1' ] } ,
102+ includeModules : { forceInclude : [ 'mod1' ] } ,
103103 webpackConfig : 'myWebpackFile.js'
104104 }
105105 } ;
106106 const config = new Configuration ( testCustom ) ;
107107 expect ( config . _config ) . to . deep . equal ( {
108108 webpackConfig : 'myWebpackFile.js' ,
109- webpackIncludeModules : { forceInclude : [ 'mod1' ] } ,
109+ includeModules : { forceInclude : [ 'mod1' ] } ,
110110 packager : 'npm' ,
111111 packExternalModulesMaxBuffer : 200 * 1024 ,
112112 config : null
0 commit comments