ptoect
Some checks failed
CI / ci (push) Has been cancelled

This commit is contained in:
mokangleb1818-crypto
2026-05-18 10:55:29 +03:00
commit 61b4c108c2
4001 changed files with 1385100 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
/*
Copyright 2015, Yahoo Inc.
Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.
*/
'use strict';
function getUniqueKey(pathname) {
return pathname.replace(/[\\/]/g, '_');
}
function getOutput(cache) {
return Object.values(cache).reduce(
(output, { file, mappedCoverage }) => ({
...output,
[file]: mappedCoverage
}),
{}
);
}
module.exports = { getUniqueKey, getOutput };