Skip to content

Correct the usage of getConfiguration('autolispext') by modify the extensionDevelopmentPath #141

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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
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
1 change: 1 addition & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"preLaunchTask": "buildproject",
"runtimeExecutable": "${execPath}",
"args": [
"--disable-extensions",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was handled in PR #160 and quite a bit more. Make sure you update to the latest before these test additions get added.

"--extensionDevelopmentPath=${workspaceFolder}",
"--extensionTestsPath=${workspaceFolder}/out/test/suite/index"
],
Expand Down
3 changes: 2 additions & 1 deletion extension/src/test/runTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ async function main() {
try {
// The folder containing the Extension Manifest package.json
// Passed to `--extensionDevelopmentPath`
const extensionDevelopmentPath = path.resolve(__dirname, '../../../../');
// The __dirname is \AutoLispExt\out\test
const extensionDevelopmentPath = path.resolve(__dirname, '../../');
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was handled in PR #160 and quite a bit more. Make sure you update to the latest before these test additions get added.

let extensionTestsPath ='';
// The path to the extension test or code coverage script
// Passed to --extensionTestsPath
Expand Down
Loading