-
-
Notifications
You must be signed in to change notification settings - Fork 44
Expand file tree
/
Copy path.vscode-test.mjs
More file actions
33 lines (30 loc) · 777 Bytes
/
.vscode-test.mjs
File metadata and controls
33 lines (30 loc) · 777 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
import { defineConfig } from '@vscode/test-cli';
import { createRequire } from 'module';
const require = createRequire(import.meta.url);
const mochaConfig = require('./test/mochaConfig.json');
const commonConfig = {
version: 'stable',
workspaceFolder: 'test/fortran',
launchArgs: ['--disable-extensions'],
mocha: mochaConfig,
};
export default defineConfig({
tests: [
{
label: 'unit',
files: 'out/test/unitTest/**/*.test.js',
...commonConfig,
},
{
label: 'integration',
files: 'out/test/integration/**/*.test.js',
...commonConfig,
},
],
coverage: {
includeAll: true,
include: ['**/out/**/*.js'],
exclude: ['**/node_modules/**', '**/out/test/**'],
reporter: ['html', 'text', 'lcov'],
},
});