mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Allow code coverage command to succeed again (#4054)
This commit is contained in:
@@ -129,7 +129,7 @@ function main() {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
let remapIgnores = /\b((winjs\.base)|(marked)|(raw\.marked)|(nls)|(css))\.js$/;
|
let remapIgnores = /\b((winjs\.base)|(filters\.perf\.data)|(performance)|(marked)|(raw\.marked)|(nls)|(css))\.js$/;
|
||||||
|
|
||||||
var remappedCoverage = i_remap(global.__coverage__, { exclude: remapIgnores }).getFinalCoverage();
|
var remappedCoverage = i_remap(global.__coverage__, { exclude: remapIgnores }).getFinalCoverage();
|
||||||
|
|
||||||
@@ -170,6 +170,7 @@ function main() {
|
|||||||
collector.add(finalCoverage);
|
collector.add(finalCoverage);
|
||||||
|
|
||||||
var coveragePath = path.join(path.dirname(__dirname), '.build', 'coverage');
|
var coveragePath = path.join(path.dirname(__dirname), '.build', 'coverage');
|
||||||
|
console.log('coverage folder is at: '.concat(coveragePath));
|
||||||
var reportTypes = [];
|
var reportTypes = [];
|
||||||
if (argv.run || argv.runGlob) {
|
if (argv.run || argv.runGlob) {
|
||||||
// single file running
|
// single file running
|
||||||
|
|||||||
Reference in New Issue
Block a user