Skip to content

Commit f88d3d2

Browse files
committed
test: fix coverage metrics
1 parent 28b5271 commit f88d3d2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.vscode-test.mjs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
import { defineConfig } from '@vscode/test-cli';
22
import { createRequire } from 'module';
3+
import * as path from 'path';
4+
import process from 'process';
35

46
const require = createRequire(import.meta.url);
57
const mochaConfig = require('./test/mochaConfig.json');
@@ -26,7 +28,7 @@ export default defineConfig({
2628
],
2729
coverage: {
2830
includeAll: true,
29-
include: ['out/**/*.js'],
31+
include: [path.join(process.cwd(), 'out/**/*.js')],
3032
exclude: ['**/node_modules/**', 'out/test/**'],
3133
reporter: ['html', 'text', 'lcov'],
3234
},

0 commit comments

Comments
 (0)