Skip to content

Commit

Permalink
feat(test): update webpack dep to 2RC and remove perf warnings for la…
Browse files Browse the repository at this point in the history
…rger bundle example
  • Loading branch information
TheLarkInn committed Dec 15, 2016
1 parent 724c055 commit fcf83c0
Show file tree
Hide file tree
Showing 4 changed files with 232 additions and 134 deletions.
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,29 +22,29 @@
},
"homepage": "https://github.com/mutualofomaha/multipage-webpack-plugin#readme",
"devDependencies": {
"ava": "^0.16.0",
"ava": "^0.17.0",
"babel": "^6.5.2",
"babel-cli": "^6.18.0",
"babel-core": "^6.17.0",
"babel-polyfill": "^6.16.0",
"babel-core": "^6.20.0",
"babel-polyfill": "^6.20.0",
"babel-preset-es2015": "^6.16.0",
"babel-preset-stage-2": "^6.17.0",
"babel-preset-stage-3": "^6.17.0",
"babel-register": "^6.16.3",
"bluebird": "^3.4.6",
"coveralls": "^2.11.15",
"eslint": "^3.8.1",
"eslint-config-airbnb": "^12.0.0",
"eslint-plugin-ava": "^3.1.1",
"eslint": "^3.12.2",
"eslint-config-airbnb": "^13.0.0",
"eslint-plugin-ava": "^4.0.0",
"eslint-plugin-import": "^2.0.1",
"eslint-plugin-jsx-a11y": "^2.2.3",
"eslint-plugin-jsx-a11y": "^3.0.2",
"eslint-plugin-react": "^6.4.1",
"hard-source-webpack-plugin": "^0.1.0",
"html-webpack-plugin": "^2.22.0",
"memory-fs": "^0.3.0",
"nyc": "^8.3.1",
"memory-fs": "^0.4.1",
"nyc": "^10.0.0",
"rimraf": "^2.5.4",
"webpack": "^2.1.0-beta.27"
"webpack": "beta"
},
"babel": {
"presets": [
Expand Down
2 changes: 1 addition & 1 deletion test/simple-shared.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ test.before('run webpack build first', async t => {
test('it should run successfully', async t => {
let {stats, warnings, errors} = webpackBuildStats;

t.falsy(stats.hasWarnings() && errors.hasWarnings());
t.falsy(stats.hasWarnings() && stats.hasErrors());
});

test('it should extract modules used in multiple entrypoints into a separate chunk', async t => {
Expand Down
5 changes: 4 additions & 1 deletion test/simple-with-vendor-shared-default.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,14 @@ const fsExists = Promise.promisify(fs.exists, {context: fs});
let webpackBuildStats = null;

test.before('run webpack build first', async t => {
webpackConfig.performance = {
hints: false
};
webpackBuildStats = await runWebpackCompilerMemoryFs(webpackConfig);
});

test('it should run successfully', async t => {
let {stats, warnings, errors} = webpackBuildStats;

t.falsy(stats.hasWarnings() && errors.hasWarnings());
t.falsy(stats.hasWarnings() && stats.hasWarnings());
});

0 comments on commit fcf83c0

Please sign in to comment.