File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 91
91
"nyc" : {
92
92
"extends" : " @istanbuljs/nyc-config-typescript" ,
93
93
"all" : false ,
94
+ "require" : [" source-map-support/register" ],
95
+ "source-map" : true ,
94
96
"check-coverage" : false ,
95
- "use-spawn-wrap" : true ,
97
+ "use-spawn-wrap" : false ,
96
98
"include" : [
97
99
" out/**/*.js" ,
98
100
" src/**/*.ts"
99
101
],
100
102
"exclude" : [
101
- " .vscode-test/**/*.js "
103
+ " .vscode-test/**"
102
104
],
103
105
"reporter" : [
104
106
" cobertura" ,
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ export function run(): Promise<void> {
13
13
const mocha = new Mocha ( {
14
14
color : ! process . env . TF_BUILD , // colored output from test results
15
15
reporter : "mocha-multi-reporters" ,
16
+ require : [ "ts-node/register" , "source-map-support/register" ] ,
16
17
timeout : 30000 , // 30s because PowerShell startup is slow!
17
18
reporterOptions : {
18
19
// NOTE: The XML output by Mocha's xUnit reporter is actually in the
You can’t perform that action at this time.
0 commit comments