Skip to content

Commit c693a46

Browse files
committed
enable vscode-test and bump tsconfig to modern settings
1 parent 7e1bce9 commit c693a46

File tree

4 files changed

+384
-12
lines changed

4 files changed

+384
-12
lines changed

.vscode-test.mjs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import { defineConfig } from '@vscode/test-cli';
2+
3+
export default defineConfig({
4+
files: 'out/test/**/*.test.js',
5+
});

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,8 @@
314314
"vitest": "^0.34.6",
315315
"vscode-test": "^1.5.0",
316316
"webpack": "^5.99.6",
317-
"webpack-cli": "^5.1.4"
317+
"webpack-cli": "^5.1.4",
318+
"@vscode/test-cli": "^0.0.10"
318319
},
319320
"dependencies": {
320321
"axios": "1.8.4",

src/test/extension.test.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import assert from "assert";
2+
3+
suite("first test", () => {
4+
test("first test", () => {
5+
// This is a dummy test to ensure the test suite runs
6+
assert.strictEqual(1, 1);
7+
});
8+
});

0 commit comments

Comments
 (0)