File tree Expand file tree Collapse file tree 1 file changed +8
-12
lines changed Expand file tree Collapse file tree 1 file changed +8
-12
lines changed Original file line number Diff line number Diff line change 1
1
{
2
- "version" : " 0.2.0" ,
3
- "configurations" : [
2
+ "version" : " 0.2.0" ,
3
+ "configurations" : [
4
4
{
5
5
"name" : " Mocha: Test Current File" ,
6
6
"type" : " node" ,
24
24
"type" : " node" ,
25
25
"request" : " launch" ,
26
26
"cwd" : " ${workspaceRoot}" ,
27
- "program" : " ${workspaceRoot}/node_modules/.bin/_mocha " ,
27
+ "program" : " ${workspaceRoot}/node_modules/.bin/ts-mocha " ,
28
28
"args" : [
29
- " --recursive" ,
30
- " --no-timeouts" ,
31
- " --exclude" ,
32
- " **/views/view.spec.ts" ,
33
- " --config" ,
34
- " ${workspaceRoot}/configs/.mocharc.json"
29
+ " -p" ,
30
+ " tsconfig.json" ,
31
+ " **/src/**/*.spec.ts" ,
35
32
],
36
- "console" : " integratedTerminal" ,
37
33
"env" : {
38
- "TS_NODE_PROJECT " : " ${workspaceRoot}/tsconfig.json "
34
+ "NODE_ENV " : " test "
39
35
},
40
36
"sourceMaps" : true ,
41
37
"smartStep" : true ,
62
58
" ${workspaceFolder}/packages/sprotty-elk/lib/**/*.js"
63
59
]
64
60
}
65
- ]
61
+ ]
66
62
}
You can’t perform that action at this time.
0 commit comments