@@ -53,6 +53,7 @@ describe('Functional tests using webpack', function() {
5353 config . addStyleEntry ( 'font' , './css/roboto_font.css' ) ;
5454 config . addStyleEntry ( 'bg' , './css/background_image.scss' ) ;
5555 config . setPublicPath ( 'http://localhost:8090/assets' ) ;
56+ config . enableSassLoader ( ) ;
5657 config . setManifestKeyPrefix ( 'assets' ) ;
5758
5859 testSetup . runWebpack ( config , ( webpackAssert ) => {
@@ -104,6 +105,7 @@ describe('Functional tests using webpack', function() {
104105 config . addStyleEntry ( 'font' , './css/roboto_font.css' ) ;
105106 config . addStyleEntry ( 'bg' , './css/background_image.scss' ) ;
106107 config . setPublicPath ( '/assets' ) ;
108+ config . enableSassLoader ( ) ;
107109 config . useWebpackDevServer ( 'http://localhost:8090' ) ;
108110
109111 testSetup . runWebpack ( config , ( webpackAssert ) => {
@@ -215,6 +217,7 @@ describe('Functional tests using webpack', function() {
215217 config . setPublicPath ( '/build' ) ;
216218 config . addStyleEntry ( 'h1' , './css/h1_style.css' ) ;
217219 config . addStyleEntry ( 'bg' , './css/background_image.scss' ) ;
220+ config . enableSassLoader ( ) ;
218221 config . enableVersioning ( true ) ;
219222
220223 testSetup . runWebpack ( config , ( webpackAssert ) => {
@@ -248,6 +251,7 @@ describe('Functional tests using webpack', function() {
248251 config . setPublicPath ( '/build' ) ;
249252 config . addStyleEntry ( 'bg' , './css/background_image.scss' ) ;
250253 config . addStyleEntry ( 'font' , './css/roboto_font.css' ) ;
254+ config . enableSassLoader ( ) ;
251255
252256 testSetup . runWebpack ( config , ( webpackAssert ) => {
253257 expect ( config . outputPath ) . to . be . a . directory ( )
@@ -294,6 +298,7 @@ describe('Functional tests using webpack', function() {
294298 config . addEntry ( 'main' , './js/no_require' ) ;
295299 config . addStyleEntry ( 'bg' , './css/background_image.scss' ) ;
296300 config . addStyleEntry ( 'font' , './css/roboto_font.css' ) ;
301+ config . enableSassLoader ( ) ;
297302 config . enableSourceMaps ( ) ;
298303
299304 testSetup . runWebpack ( config , ( webpackAssert ) => {
@@ -316,6 +321,7 @@ describe('Functional tests using webpack', function() {
316321 config . setPublicPath ( '/build' ) ;
317322 // loads sass_features.scss via require.ensure
318323 config . addEntry ( 'main' , './js/code_split_load_scss' ) ;
324+ config . enableSassLoader ( ) ;
319325
320326 testSetup . runWebpack ( config , ( webpackAssert ) => {
321327 // make sure sass is parsed
@@ -404,7 +410,7 @@ module.exports = {
404410 var config = testSetup . createWebpackConfig ( 'www/build' ) ;
405411 config . setPublicPath ( '/build' ) ;
406412 config . addStyleEntry ( 'styles' , [ './css/h2_styles.less' ] ) ;
407- config . enableLess ( ) ;
413+ config . enableLessLoader ( ) ;
408414
409415 testSetup . runWebpack ( config , ( webpackAssert ) => {
410416 // check that less did its work!
0 commit comments