Skip to content

Commit

Permalink
fixing CS
Browse files Browse the repository at this point in the history
  • Loading branch information
weaverryan committed Mar 29, 2019
1 parent 9525e7a commit 7895f63
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/functional.js
Expand Up @@ -2211,7 +2211,7 @@ module.exports = {

config.setPublicPath('/build');
config.addAliases({
lib:path.resolve('./lib')
lib: path.resolve('./lib')
});
config.enableSassLoader();
config.addStyleEntry('sass', './css/sass_package_import.scss');
Expand All @@ -2221,24 +2221,24 @@ module.exports = {
// If this test fails then the import in the above sass file
// is not loading the package's sass file.
done();
})
});
});

it('Import via "style" package property', (done) => {
const config = createWebpackConfig('web/build', 'dev');

config.setPublicPath('/build');
config.addAliases({
lib:path.resolve('./lib')
lib: path.resolve('./lib')
});
config.addStyleEntry('style', './css/style_package_import.css');

testSetup.runWebpack(config, () => {
// A successful compile is all that is needed to pass this test.
// If this test fails then the import in the above css file
// is not loading the package's style file.
// is not loading the package's style file.
done();
})
});
});
});

Expand Down

0 comments on commit 7895f63

Please sign in to comment.