Skip to content

Commit

Permalink
get build failing
Browse files Browse the repository at this point in the history
  • Loading branch information
thescientist13 committed May 9, 2018
1 parent e21e639 commit 5e08703
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,6 @@ const rimraf = require('rimraf');
const webpackConfig = require('./webpack.config');
const webpack = require('webpack');

// work around to make sure builds fail on unhandledRejection with mocha / nodejs
// https://github.com/mochajs/mocha/issues/2640
process.on('unhandledRejection', (reason, promise) => {
console.log(`unhandledRejection ${reason}`);
process.exit();
});

describe('HtmlCriticalWebpackPlugin Cases: Generate Critical CSS', () => {
const buildDirectory = path.resolve(__dirname, 'build');

Expand Down

0 comments on commit 5e08703

Please sign in to comment.