Fix and enable core unit test coverage (#18781)

* Fix and enable core unit test coverage

* switch

* Fix coverage mapping

* don't output marked

* Fix filter check
This commit is contained in:
Charles Gagnon
2022-03-21 15:15:07 -07:00
committed by GitHub
parent 8a670a8baa
commit 08b2d9668e
7 changed files with 14 additions and 11 deletions

View File

@@ -41,7 +41,7 @@ exports.createReport = function (isSingle) {
Object.keys(transformed.data).forEach((file) => {
const entry = transformed.data[file];
const fixedPath = fixPath(entry.path);
if (fixedPath.includes('\\vs\\') || fixedPath.includes('/vs/')) { return; } // {{SQL CARBON EDIT}} skip vscode files
if (fixedPath.includes(`/vs/`) || fixedPath.includes('\\vs\\') || path.basename(fixedPath) === 'marked.js') { return; } // {{SQL CARBON EDIT}} skip vscode files and imported marked.js
entry.data.path = fixedPath;
newData[fixedPath] = entry;
});