File tree Expand file tree Collapse file tree 6 files changed +323
-38
lines changed Expand file tree Collapse file tree 6 files changed +323
-38
lines changed Original file line number Diff line number Diff line change 21
21
uses : actions/setup-node@v3
22
22
with :
23
23
node-version : 20.x
24
- - run : npm install
25
- - run : xvfb-run -a npm test
24
+ - run : yarn install
25
+ - run : xvfb-run -a yarn test
26
26
if : runner.os == 'Linux'
27
- - run : npm test
27
+ - run : yarn test
28
28
if : runner.os != 'Linux'
Original file line number Diff line number Diff line change
1
+ import { defineConfig } from '@vscode/test-cli' ;
2
+
3
+ export default defineConfig ( {
4
+ files : 'out/test/**/*.test.js' ,
5
+ } ) ;
Original file line number Diff line number Diff line change 25
25
"request" : " launch" ,
26
26
"args" : [
27
27
" --extensionDevelopmentPath=${workspaceFolder}" ,
28
- " --extensionTestsPath=${workspaceFolder}/out/test/suite/ index"
28
+ " --extensionTestsPath=${workspaceFolder}/out/test/index"
29
29
],
30
30
"outFiles" : [
31
31
" ${workspaceFolder}/out/test/**/*.js"
Original file line number Diff line number Diff line change 349
349
"watch" : " tsc -watch -p ./" ,
350
350
"pretest" : " yarn run compile && yarn run lint" ,
351
351
"lint" : " eslint src --ext ts" ,
352
- "test" : " node ./out/ test/runTest.js " ,
352
+ "test" : " vscode- test" ,
353
353
"package" : " vsce package --yarn" ,
354
354
"publish:vsce" : " vsce publish --yarn" ,
355
355
"publish:ovsx" : " ovsx publish --yarn" ,
363
363
"@types/vscode" : " 1.76.0" ,
364
364
"@typescript-eslint/eslint-plugin" : " 7.5.0" ,
365
365
"@typescript-eslint/parser" : " 7.5.0" ,
366
+ "@vscode/test-cli" : " ^0.0.8" ,
366
367
"@vscode/test-electron" : " 2.3.9" ,
367
368
"@vscode/vsce" : " 2.24.0" ,
368
369
"esbuild" : " 0.20.2" ,
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments