johnagan / clean-webpack-plugin
Showing 1 of 3 files from the diff.
Other files ignored by Codecov
package.json has changed.
README.md has changed.

@@ -238,28 +238,7 @@
Loading
238 238
        /**
239 239
         * Fetch Webpack's output asset files
240 240
         */
241 -
        const assets =
242 -
            stats.toJson({
243 -
                assets: true,
244 -
            }).assets || [];
245 -
246 -
        const relatedAssets = assets
247 -
            .map((asset) => {
248 -
                return (
249 -
                    (asset.related &&
250 -
                        Array.isArray(asset.related) &&
251 -
                        asset.related) ||
252 -
                    []
253 -
                );
254 -
            })
255 -
            .reduce((previousAssets, currentAssets) => {
256 -
                return [...previousAssets, ...currentAssets];
257 -
            }, []);
258 -
259 -
        const allAssets = [...assets, ...relatedAssets];
260 -
        const assetList = allAssets.map((asset) => {
261 -
            return asset.name;
262 -
        });
241 +
        const assetList = Object.keys(stats.compilation.assets);
263 242
264 243
        /**
265 244
         * Get all files that were in the previous build but not the current
@@ -341,6 +320,7 @@
Loading
341 320
                throw new Error(message);
342 321
            }
343 322
323 +
            /* istanbul ignore next */
344 324
            throw error;
345 325
        }
346 326
    }
Files Coverage
src/clean-webpack-plugin.ts 100.00%
Project Totals (1 files) 100.00%
vp0v1ncw8109aw9b
vp0v1ncw8109aw9b
vp0v1ncw8109aw9b
j2oshqk55rf4d756
kd3kke90wk9yli0m
kd3kke90wk9yli0m
kd3kke90wk9yli0m
n7o6cgtxluxv16ha
n7o6cgtxluxv16ha
n7o6cgtxluxv16ha
o0dfkxsmssrpkqmr
o0dfkxsmssrpkqmr
s9aaq37gm6604kbr
o0dfkxsmssrpkqmr
s9aaq37gm6604kbr
s9aaq37gm6604kbr
j2oshqk55rf4d756
j2oshqk55rf4d756

No yaml found.

Create your codecov.yml to customize your Codecov experience

Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading