(statsJson)
| 34 | } |
| 35 | |
| 36 | function getCompiledModuleCount (statsJson) { |
| 37 | return statsJson.modules.filter(function (webpackModule) { |
| 38 | return webpackModule.built; |
| 39 | }).length + statsJson.children.reduce(function (sum, childCompilationStats) { |
| 40 | return sum + getCompiledModuleCount(childCompilationStats); |
| 41 | }, 0); |
| 42 | } |
| 43 | |
| 44 | describe('HtmlWebpackPluginCaching', function () { |
| 45 | beforeEach(function (done) { |