File tree Expand file tree Collapse file tree 4 files changed +34
-3
lines changed
Expand file tree Collapse file tree 4 files changed +34
-3
lines changed Original file line number Diff line number Diff line change @@ -48,10 +48,10 @@ jobs:
4848 with :
4949 node-version : 12.x
5050 - run : npm install
51- - run : npm run compile
5251 - name : lint
5352 if : runner.os == 'Linux'
5453 run : npm run lint
54+ - run : npm run compile
5555 - name : npm test
5656 uses : GabrielBB/xvfb-action@v1.0
5757 with :
Original file line number Diff line number Diff line change @@ -11,8 +11,16 @@ async function main() {
1111 // The path to the extension test script
1212 // Passed to --extensionTestsPath
1313 const extensionTestsPath = path . resolve ( __dirname , "./suite/index" ) ;
14+ const codeWorkspacePath = path . resolve ( extensionDevelopmentPath , "./src/test/workspace/test.code-workspace" ) ;
15+ console . log ( "codeWorkspacePath" , codeWorkspacePath ) ;
1416
15- const launchArgs = [ "--enable-proposed-api" , "daimor.vscode-objectscript" ] ;
17+ const launchArgs = [
18+ "-n" ,
19+ "--disable-extensions" ,
20+ "--enable-proposed-api" ,
21+ "daimor.vscode-objectscript" ,
22+ codeWorkspacePath ,
23+ ] ;
1624
1725 // Download VS Code, unzip it and run the integration test
1826 await runTests ( { extensionDevelopmentPath, extensionTestsPath, launchArgs } ) ;
Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ export function run(): Promise<void> {
66 // Create the mocha test
77 const mocha = new Mocha ( {
88 ui : "tdd" ,
9+ color : true ,
910 } ) ;
10- mocha . useColors ( true ) ;
1111
1212 const testsRoot = path . resolve ( __dirname , ".." ) ;
1313
Original file line number Diff line number Diff line change 1+ {
2+ "folders" : [
3+ {
4+ "path" : " ."
5+ },
6+ {
7+ "name" : " isfs" ,
8+ "uri" : " isfs://IRIS/"
9+ }
10+ ],
11+ "settings" : {
12+ "intersystems.servers" : {
13+ "IRIS" : {
14+ "webServer" : {
15+ "scheme" : " http" ,
16+ "host" : " 127.0.0.1" ,
17+ "port" : 52773
18+ },
19+ "description" : " Connection to default local InterSystems IRIS™ installation. Delete if unwanted."
20+ },
21+ }
22+ }
23+ }
You can’t perform that action at this time.
0 commit comments