10000 Add package scripts and cli library, enable integration testing by jaggederest · Pull Request #536 · coder/vscode-coder · GitHub
[go: up one dir, main page]

Skip to content

Add package scripts and cli library, enable integration testing #536

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 16 commits into from
Jun 20, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
enable vscode-test and bump tsconfig to modern settings
  • Loading branch information
jaggederest committed Jun 16, 2025
commit c693a460c08a67fd04820bd0bed66be15569da52
5 changes: 5 additions & 0 deletions .vscode-test.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { defineConfig } from '@vscode/test-cli';

export default defineConfig({
files: 'out/test/**/*.test.js',
});
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,8 @@
"vitest": "^0.34.6",
"vscode-test": "^1.5.0",
"webpack": "^5.99.6",
"webpack-cli": "^5.1.4"
"webpack-cli": "^5.1.4",
"@vscode/test-cli": "^0.0.10"
},
"dependencies": {
"axios": "1.8.4",
Expand Down
8 changes: 8 additions & 0 deletions src/test/extension.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import assert from "assert";

suite("first test", () => {
test("first test", () => {
// This is a dummy test to ensure the test suite runs
assert.strictEqual(1, 1);
});
});
Loading
0