Skip to content

Commit 86090eb

Browse files
committed
WIP: Does it work in CI?!
1 parent 6a8761f commit 86090eb

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,14 +91,16 @@
9191
"nyc": {
9292
"extends": "@istanbuljs/nyc-config-typescript",
9393
"all": false,
94+
"require": ["source-map-support/register"],
95+
"source-map": true,
9496
"check-coverage": false,
95-
"use-spawn-wrap": true,
97+
"use-spawn-wrap": false,
9698
"include": [
9799
"out/**/*.js",
98100
"src/**/*.ts"
99101
],
100102
"exclude": [
101-
".vscode-test/**/*.js"
103+
".vscode-test/**"
102104
],
103105
"reporter": [
104106
"cobertura",

test/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ export function run(): Promise<void> {
1313
const mocha = new Mocha({
1414
color: !process.env.TF_BUILD, // colored output from test results
1515
reporter: "mocha-multi-reporters",
16+
require: ["ts-node/register", "source-map-support/register"],
1617
timeout: 30000, // 30s because PowerShell startup is slow!
1718
reporterOptions: {
1819
// NOTE: The XML output by Mocha's xUnit reporter is actually in the

0 commit comments

Comments
 (0)