Skip to content

Commit a9ee744

Browse files
test base
1 parent e4f30d3 commit a9ee744

4 files changed

Lines changed: 20 additions & 1 deletion

File tree

.vscodeignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
.vscode/**
22
.examples/**
3+
.src/tests/**
34
.gitignore
45
vsc-extension-quickstart.md
56
*.svg

examples/anyhedge.cash

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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

src/tests/index.ts

Whitespace-only changes.

src/tests/runTest.ts

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
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();

0 commit comments

Comments
 (0)