File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11.vscode /**
22.examples /**
3+ .src /tests /**
34.gitignore
45vsc-extension-quickstart.md
56* .svg
Original file line number Diff line number Diff line change @@ -51,7 +51,6 @@ contract AnyHedge_v0_10(
5151 require(checkSig(hedgeMutualRedeemSig, hedgeMutualRedeemPubk));
5252 require(checkSig(longMutualRedeemSig, longMutualRedeemPubk));
5353
54-
5554 }
5655
5756 // Payout in Liquidation or Maturity conditions
Original file line number Diff line number Diff line change 1+ import * as path from 'path' ;
2+ import { runTests } from 'vscode-test' ;
3+
4+ async function main ( ) {
5+ try {
6+
7+ const extensionDevelopmentPath = path . resolve ( __dirname , '../../' ) ;
8+ const extensionTestsPath = path . resolve ( __dirname , './suite/index' ) ;
9+
10+ // Download VS Code, unzip it and run the integration test
11+ await runTests ( { extensionDevelopmentPath, extensionTestsPath } ) ;
12+ } catch ( err ) {
13+ console . error ( err ) ;
14+ console . error ( 'Failed to run tests' ) ;
15+ process . exit ( 1 ) ;
16+ }
17+ }
18+
19+ main ( ) ;
You can’t perform that action at this time.
0 commit comments