{"action":"created","issue":{"url":"https://api.github.com/repos/webpack/webpack/issues/5936","repository_url":"https://api.github.com/repos/webpack/webpack","labels_url":"https://api.github.com/repos/webpack/webpack/issues/5936/labels{/name}","comments_url":"https://api.github.com/repos/webpack/webpack/issues/5936/comments","events_url":"https://api.github.com/repos/webpack/webpack/issues/5936/events","html_url":"https://github.com/webpack/webpack/pull/5936","id":272149370,"number":5936,"title":"Update code style to arrow functions","user":{"login":"sokra","id":1365881,"avatar_url":"https://avatars0.githubusercontent.com/u/1365881?v=4","gravatar_id":"","url":"https://api.github.com/users/sokra","html_url":"https://github.com/sokra","followers_url":"https://api.github.com/users/sokra/followers","following_url":"https://api.github.com/users/sokra/following{/other_user}","gists_url":"https://api.github.com/users/sokra/gists{/gist_id}","starred_url":"https://api.github.com/users/sokra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sokra/subscriptions","organizations_url":"https://api.github.com/users/sokra/orgs","repos_url":"https://api.github.com/users/sokra/repos","events_url":"https://api.github.com/users/sokra/events{/privacy}","received_events_url":"https://api.github.com/users/sokra/received_events","type":"User","site_admin":false},"labels":[{"id":572709861,"url":"https://api.github.com/repos/webpack/webpack/labels/PR:%20CI-not-ok","name":"PR: CI-not-ok","color":"d93f0b","default":false},{"id":689140390,"url":"https://api.github.com/repos/webpack/webpack/labels/PR:%20next","name":"PR: next","color":"fbca04","default":false},{"id":572817354,"url":"https://api.github.com/repos/webpack/webpack/labels/PR:%20unreviewed","name":"PR: unreviewed","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-11-08T10:33:52Z","updated_at":"2017-11-08T10:48:46Z","closed_at":null,"author_association":"OWNER","pull_request":{"url":"https://api.github.com/repos/webpack/webpack/pulls/5936","html_url":"https://github.com/webpack/webpack/pull/5936","diff_url":"https://github.com/webpack/webpack/pull/5936.diff","patch_url":"https://github.com/webpack/webpack/pull/5936.patch"},"body":"<!-- Thanks for submitting a pull request! Please provide enough information so that others can review your pull request. -->\r\n\r\n**What kind of change does this PR introduce?**\r\nrefactoring code style\r\n<!-- E.g. a bugfix, feature, refactoring, build related change, etc… -->\r\n\r\n**Did you add tests for your changes?**\r\nexisting test\r\n<!-- Note that we won't merge your changes if you don't add tests -->\r\n\r\n**If relevant, link to documentation update:**\r\nN/A\r\n<!-- Link PR from webpack/webpack.js.org here, or N/A -->\r\n\r\n**Summary**\r\narrow functions ftw\r\n<!-- Explain the **motivation** for making this change. What existing problem does the pull request solve? -->\r\n<!-- Try to link to an open issue for more information. -->\r\n\r\n**Does this PR introduce a breaking change?**\r\nno\r\n<!-- If this PR introduces a breaking change, please describe the impact and a migration path for existing applications. -->\r\n\r\n**Other information**\r\n"},"comment":{"url":"https://api.github.com/repos/webpack/webpack/issues/comments/342780924","html_url":"https://github.com/webpack/webpack/pull/5936#issuecomment-342780924","issue_url":"https://api.github.com/repos/webpack/webpack/issues/5936","id":342780924,"user":{"login":"webpack-bot","id":26676291,"avatar_url":"https://avatars0.githubusercontent.com/u/26676291?v=4","gravatar_id":"","url":"https://api.github.com/users/webpack-bot","html_url":"https://github.com/webpack-bot","followers_url":"https://api.github.com/users/webpack-bot/followers","following_url":"https://api.github.com/users/webpack-bot/following{/other_user}","gists_url":"https://api.github.com/users/webpack-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/webpack-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webpack-bot/subscriptions","organizations_url":"https://api.github.com/users/webpack-bot/orgs","repos_url":"https://api.github.com/users/webpack-bot/repos","events_url":"https://api.github.com/users/webpack-bot/events{/privacy}","received_events_url":"https://api.github.com/users/webpack-bot/received_events","type":"User","site_admin":false},"created_at":"2017-11-08T10:48:46Z","updated_at":"2017-11-08T10:48:46Z","author_association":"NONE","body":"<!-- identifier: ci-result -->\n\n@sokra Please review the following output log for errors:\n\n``` text\n  16 failing\n\n  1) JsonpHotUpdateChunkTemplatePlugin when applied render handler creates source wrapper with export:\n     TypeError: Cannot read property 'hotUpdateFunction' of undefined\n      at Object.hotUpdateChunkTemplate.plugin (/home/travis/build/webpack/webpack/lib/JsonpHotUpdateChunkTemplatePlugin.js:9:491)\n      at Context.it (/home/travis/build/webpack/webpack/test/JsonpHotUpdateChunkTemplatePlugin.unittest.js:35:41)\n      at callFn (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runnable.js:348:21)\n      at Test.Runnable.run (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runnable.js:340:7)\n      at Runner.runTest (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:443:10)\n      at /home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:549:12\n      at next (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:361:14)\n      at /home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:371:7\n      at next (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:295:14)\n      at /home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:334:7\n      at done (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runnable.js:295:5)\n      at callFn (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runnable.js:366:7)\n      at Hook.Runnable.run (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runnable.js:340:7)\n      at next (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:309:10)\n      at Immediate.<anonymous> (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:339:5)\n      at runCallback (timers.js:789:20)\n      at tryOnImmediate (timers.js:751:5)\n      at processImmediate [as _immediateCallback] (timers.js:722:5)\n\n  2) JsonpHotUpdateChunkTemplatePlugin when applied hash handler updates hash object:\n     TypeError: Cannot read property 'hotUpdateFunction' of undefined\n      at Object.hotUpdateChunkTemplate.plugin.hash (/home/travis/build/webpack/webpack/lib/JsonpHotUpdateChunkTemplatePlugin.js:9:1024)\n      at Context.it (/home/travis/build/webpack/webpack/test/JsonpHotUpdateChunkTemplatePlugin.unittest.js:54:26)\n      at callFn (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runnable.js:348:21)\n      at Test.Runnable.run (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runnable.js:340:7)\n      at Runner.runTest (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:443:10)\n      at /home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:549:12\n      at next (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:361:14)\n      at /home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:371:7\n      at next (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:295:14)\n      at /home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:334:7\n      at done (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runnable.js:295:5)\n      at callFn (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runnable.js:366:7)\n      at Hook.Runnable.run (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runnable.js:340:7)\n      at next (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:309:10)\n      at Immediate.<anonymous> (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:339:5)\n      at runCallback (timers.js:789:20)\n      at tryOnImmediate (timers.js:751:5)\n      at processImmediate [as _immediateCallback] (timers.js:722:5)\n\n  3) NodeHotUpdateChunkTemplatePlugin when applied hash handler updates hash object:\n     TypeError: Cannot read property 'hotUpdateFunction' of undefined\n      at Object.hotUpdateChunkTemplate.plugin.hash (/home/travis/build/webpack/webpack/lib/node/NodeHotUpdateChunkTemplatePlugin.js:9:995)\n      at Context.it (/home/travis/build/webpack/webpack/test/NodeHotUpdateChunkTemplatePlugin.unittest.js:55:26)\n      at callFn (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runnable.js:348:21)\n      at Test.Runnable.run (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runnable.js:340:7)\n      at Runner.runTest (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:443:10)\n      at /home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:549:12\n      at next (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:361:14)\n      at /home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:371:7\n      at next (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:295:14)\n      at /home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:334:7\n      at done (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runnable.js:295:5)\n      at callFn (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runnable.js:366:7)\n      at Hook.Runnable.run (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runnable.js:340:7)\n      at next (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:309:10)\n      at Immediate.<anonymous> (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:339:5)\n      at runCallback (timers.js:789:20)\n      at tryOnImmediate (timers.js:751:5)\n      at processImmediate [as _immediateCallback] (timers.js:722:5)\n\n  4) WebWorkerChunkTemplatePlugin when applied render handler with chunk call back name set creates source wrapper with function name:\n     TypeError: Cannot read property 'chunkCallbackName' of undefined\n      at Object.chunkTemplate.plugin (/home/travis/build/webpack/webpack/lib/webworker/WebWorkerChunkTemplatePlugin.js:9:486)\n      at Context.it (/home/travis/build/webpack/webpack/test/WebWorkerChunkTemplatePlugin.unittest.js:47:42)\n      at callFn (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runnable.js:348:21)\n      at Test.Runnable.run (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runnable.js:340:7)\n      at Runner.runTest (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:443:10)\n      at /home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:549:12\n      at next (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:361:14)\n      at /home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:371:7\n      at next (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:295:14)\n      at Immediate.<anonymous> (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:339:5)\n      at runCallback (timers.js:789:20)\n      at tryOnImmediate (timers.js:751:5)\n      at processImmediate [as _immediateCallback] (timers.js:722:5)\n\n  5) WebWorkerChunkTemplatePlugin when applied render handler without chunk call back name set creates source wrapper with library name:\n     TypeError: Cannot read property 'chunkCallbackName' of undefined\n      at Object.chunkTemplate.plugin (/home/travis/build/webpack/webpack/lib/webworker/WebWorkerChunkTemplatePlugin.js:9:486)\n      at Context.it (/home/travis/build/webpack/webpack/test/WebWorkerChunkTemplatePlugin.unittest.js:58:42)\n      at callFn (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runnable.js:348:21)\n      at Test.Runnable.run (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runnable.js:340:7)\n      at Runner.runTest (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:443:10)\n      at /home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:549:12\n      at next (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:361:14)\n      at /home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:371:7\n      at next (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:295:14)\n      at Immediate.<anonymous> (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:339:5)\n      at runCallback (timers.js:789:20)\n      at tryOnImmediate (timers.js:751:5)\n      at processImmediate [as _immediateCallback] (timers.js:722:5)\n\n  6) WebWorkerChunkTemplatePlugin when applied hash handler updates hash object:\n     TypeError: Cannot read property 'chunkCallbackName' of undefined\n      at Object.chunkTemplate.plugin.hash (/home/travis/build/webpack/webpack/lib/webworker/WebWorkerChunkTemplatePlugin.js:9:1331)\n      at Context.it (/home/travis/build/webpack/webpack/test/WebWorkerChunkTemplatePlugin.unittest.js:82:26)\n      at callFn (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runnable.js:348:21)\n      at Test.Runnable.run (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runnable.js:340:7)\n      at Runner.runTest (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:443:10)\n      at /home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:549:12\n      at next (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:361:14)\n      at /home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:371:7\n      at next (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:295:14)\n      at /home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:334:7\n      at done (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runnable.js:295:5)\n      at callFn (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runnable.js:366:7)\n      at Hook.Runnable.run (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runnable.js:340:7)\n      at next (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:309:10)\n      at Immediate.<anonymous> (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:339:5)\n      at runCallback (timers.js:789:20)\n      at tryOnImmediate (timers.js:751:5)\n      at processImmediate [as _immediateCallback] (timers.js:722:5)\n\n  7) WebWorkerHotUpdateChunkTemplatePlugin when applied render handler with hot update function name set creates source wrapper with function name:\n     TypeError: Cannot read property 'hotUpdateFunction' of undefined\n      at Object.hotUpdateChunkTemplate.plugin (/home/travis/build/webpack/webpack/lib/webworker/WebWorkerHotUpdateChunkTemplatePlugin.js:9:553)\n      at Context.it (/home/travis/build/webpack/webpack/test/WebWorkerHotUpdateChunkTemplatePlugin.unittest.js:37:42)\n      at callFn (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runnable.js:348:21)\n      at Test.Runnable.run (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runnable.js:340:7)\n      at Runner.runTest (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:443:10)\n      at /home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:549:12\n      at next (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:361:14)\n      at /home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:371:7\n      at next (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:295:14)\n      at Immediate.<anonymous> (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:339:5)\n      at runCallback (timers.js:789:20)\n      at tryOnImmediate (timers.js:751:5)\n      at processImmediate [as _immediateCallback] (timers.js:722:5)\n\n  8) WebWorkerHotUpdateChunkTemplatePlugin when applied render handler without hot update function name set creates source wrapper with library name:\n     TypeError: Cannot read property 'hotUpdateFunction' of undefined\n      at Object.hotUpdateChunkTemplate.plugin (/home/travis/build/webpack/webpack/lib/webworker/WebWorkerHotUpdateChunkTemplatePlugin.js:9:553)\n      at Context.it (/home/travis/build/webpack/webpack/test/WebWorkerHotUpdateChunkTemplatePlugin.unittest.js:46:42)\n      at callFn (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runnable.js:348:21)\n      at Test.Runnable.run (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runnable.js:340:7)\n      at Runner.runTest (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:443:10)\n      at /home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:549:12\n      at next (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:361:14)\n      at /home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:371:7\n      at next (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:295:14)\n      at Immediate.<anonymous> (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:339:5)\n      at runCallback (timers.js:789:20)\n      at tryOnImmediate (timers.js:751:5)\n      at processImmediate [as _immediateCallback] (timers.js:722:5)\n\n  9) WebWorkerHotUpdateChunkTemplatePlugin when applied hash handler updates hash object:\n     TypeError: Cannot read property 'hotUpdateFunction' of undefined\n      at Object.hotUpdateChunkTemplate.plugin.hash (/home/travis/build/webpack/webpack/lib/webworker/WebWorkerHotUpdateChunkTemplatePlugin.js:9:1452)\n      at Context.it (/home/travis/build/webpack/webpack/test/WebWorkerHotUpdateChunkTemplatePlugin.unittest.js:68:26)\n      at callFn (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runnable.js:348:21)\n      at Test.Runnable.run (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runnable.js:340:7)\n      at Runner.runTest (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:443:10)\n      at /home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:549:12\n      at next (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:361:14)\n      at /home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:371:7\n      at next (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:295:14)\n      at /home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:334:7\n      at done (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runnable.js:295:5)\n      at callFn (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runnable.js:366:7)\n      at Hook.Runnable.run (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runnable.js:340:7)\n      at next (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:309:10)\n      at Immediate.<anonymous> (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:339:5)\n      at runCallback (timers.js:789:20)\n      at tryOnImmediate (timers.js:751:5)\n      at processImmediate [as _immediateCallback] (timers.js:722:5)\n\n  10) WebWorkerMainTemplatePlugin when applied local-vars handler when chunks are provided \"before each\" hook for \"returns the original source with installed mapping\":\n     TypeError: mainTemplate.indent is not a function\n      at Object.mainTemplate.plugin (/home/travis/build/webpack/webpack/lib/webworker/WebWorkerMainTemplatePlugin.js:9:552)\n      at Context.beforeEach (/home/travis/build/webpack/webpack/test/WebWorkerMainTemplatePlugin.unittest.js:82:44)\n      at callFn (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runnable.js:348:21)\n      at Hook.Runnable.run (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runnable.js:340:7)\n      at next (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:309:10)\n      at Immediate.<anonymous> (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:339:5)\n      at runCallback (timers.js:789:20)\n      at tryOnImmediate (timers.js:751:5)\n      at processImmediate [as _immediateCallback] (timers.js:722:5)\n\n  11) WebWorkerMainTemplatePlugin when applied require-ensure handler when called \"before each\" hook for \"creates import scripts call and promise resolve\":\n     TypeError: Cannot read property 'chunkFilename' of undefined\n      at Object.mainTemplate.plugin (/home/travis/build/webpack/webpack/lib/webworker/WebWorkerMainTemplatePlugin.js:9:936)\n      at Context.beforeEach (/home/travis/build/webpack/webpack/test/WebWorkerMainTemplatePlugin.unittest.js:113:44)\n      at callFn (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runnable.js:348:21)\n      at Hook.Runnable.run (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runnable.js:340:7)\n      at next (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:309:10)\n      at Immediate.<anonymous> (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:339:5)\n      at runCallback (timers.js:789:20)\n      at tryOnImmediate (timers.js:751:5)\n      at processImmediate [as _immediateCallback] (timers.js:722:5)\n\n  12) WebWorkerMainTemplatePlugin when applied bootstrap handler when chunks are provided \"before each\" hook for \"returns the original source with chunk callback\":\n     TypeError: Cannot read property 'chunkCallbackName' of undefined\n      at Object.mainTemplate.plugin (/home/travis/build/webpack/webpack/lib/webworker/WebWorkerMainTemplatePlugin.js:9:1871)\n      at Context.beforeEach (/home/travis/build/webpack/webpack/test/WebWorkerMainTemplatePlugin.unittest.js:157:44)\n      at callFn (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runnable.js:348:21)\n      at Hook.Runnable.run (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runnable.js:340:7)\n      at next (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:309:10)\n      at Immediate.<anonymous> (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:339:5)\n      at runCallback (timers.js:789:20)\n      at tryOnImmediate (timers.js:751:5)\n      at processImmediate [as _immediateCallback] (timers.js:722:5)\n\n  13) WebWorkerMainTemplatePlugin when applied hot-bootstrap handler when called \"before each\" hook for \"returns the original source with hot update callback\":\n     TypeError: Cannot read property 'hotUpdateChunkFilename' of undefined\n      at Object.mainTemplate.plugin (/home/travis/build/webpack/webpack/lib/webworker/WebWorkerMainTemplatePlugin.js:9:2834)\n      at Context.beforeEach (/home/travis/build/webpack/webpack/test/WebWorkerMainTemplatePlugin.unittest.js:187:44)\n      at callFn (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runnable.js:348:21)\n      at Hook.Runnable.run (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runnable.js:340:7)\n      at next (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:309:10)\n      at Immediate.<anonymous> (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:339:5)\n      at runCallback (timers.js:789:20)\n      at tryOnImmediate (timers.js:751:5)\n      at processImmediate [as _immediateCallback] (timers.js:722:5)\n\n  14) WebWorkerMainTemplatePlugin when applied hash handler \"before each\" hook for \"binds to hash event\":\n     TypeError: Cannot read property 'publicPath' of undefined\n      at Object.mainTemplate.plugin.hash (/home/travis/build/webpack/webpack/lib/webworker/WebWorkerMainTemplatePlugin.js:9:4857)\n      at Context.beforeEach (/home/travis/build/webpack/webpack/test/WebWorkerMainTemplatePlugin.unittest.js:265:30)\n      at callFn (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runnable.js:348:21)\n      at Hook.Runnable.run (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runnable.js:340:7)\n      at next (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:309:10)\n      at Immediate.<anonymous> (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:339:5)\n      at runCallback (timers.js:789:20)\n      at tryOnImmediate (timers.js:751:5)\n      at processImmediate [as _immediateCallback] (timers.js:722:5)\n\n  15) removeAndDo should return true:\n     TypeError: Cannot read property 'indexOf' of undefined\n      at Object.module.exports (/home/travis/build/webpack/webpack/lib/removeAndDo.js:9:147)\n      at Context.it (/home/travis/build/webpack/webpack/test/removeAndDo.unittest.js:28:39)\n      at callFn (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runnable.js:348:21)\n      at Test.Runnable.run (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runnable.js:340:7)\n      at Runner.runTest (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:443:10)\n      at /home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:549:12\n      at next (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:361:14)\n      at /home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:371:7\n      at next (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:295:14)\n      at /home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:334:7\n      at done (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runnable.js:295:5)\n      at callFn (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runnable.js:366:7)\n      at Hook.Runnable.run (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runnable.js:340:7)\n      at next (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:309:10)\n      at Immediate.<anonymous> (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:339:5)\n      at runCallback (timers.js:789:20)\n      at tryOnImmediate (timers.js:751:5)\n      at processImmediate [as _immediateCallback] (timers.js:722:5)\n\n  16) removeAndDo should return false:\n     TypeError: Cannot read property 'indexOf' of undefined\n      at Object.module.exports (/home/travis/build/webpack/webpack/lib/removeAndDo.js:9:147)\n      at Context.it (/home/travis/build/webpack/webpack/test/removeAndDo.unittest.js:33:39)\n      at callFn (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runnable.js:348:21)\n      at Test.Runnable.run (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runnable.js:340:7)\n      at Runner.runTest (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:443:10)\n      at /home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:549:12\n      at next (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:361:14)\n      at /home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:371:7\n      at next (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:295:14)\n      at /home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:334:7\n      at done (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runnable.js:295:5)\n      at callFn (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runnable.js:366:7)\n      at Hook.Runnable.run (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runnable.js:340:7)\n      at next (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:309:10)\n      at Immediate.<anonymous> (/home/travis/build/webpack/webpack/node_modules/mocha/lib/runner.js:339:5)\n      at runCallback (timers.js:789:20)\n      at tryOnImmediate (timers.js:751:5)\n      at processImmediate [as _immediateCallback] (timers.js:722:5)\n```\n\nInstead of updating these (outdated?) unit tests, you can choose to delete them and add integration tests instead. That would be great.\n\nSee [complete report here](https://travis-ci.org/webpack/webpack/builds/299030213?utm_source&#x3D;github_status&amp;utm_medium&#x3D;notification)."}}
{"actor":{"display_login":"webpack-bot"}}