Open
Description
Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: build from head
- OS Version: mac
Steps to Reproduce:
- have a simple test-electron code, inside the neovim github https://github.com/vscode-neovim/vscode-neovim
import * as path from "path";
import { runTests } from "@vscode/test-electron";
async function main(): Promise<void> {
try {
// The folder containing the Extension Manifest package.json
// Passed to `--extensionDevelopmentPath`
const extensionDevelopmentPath = path.resolve(__dirname, "../../");
// The path to the extension test runner script
const extensionTestsPath = path.resolve(__dirname, "./integ/index");
// Download VS Code, unzip it and run the integration test
await runTests({
vscodeExecutablePath: "/VSCode-darwin-arm64/Code - OSS.app/Contents/MacOS/Electron",
launchArgs: ["--disable-extensions"],
extensionDevelopmentPath,
extensionTestsPath,
extensionTestsEnv: {
NEOVIM_DEBUG: "1",
NEOVIM_DEBUG_HOST: "127.0.0.1",
NEOVIM_DEBUG_PORT: "4000",
NEOVIM_TEST_REGEX: "Basic editing and navigation Normal mode",
},
});
} catch (err) {
console.error(err);
console.error("Failed to run tests");
// process.exit(1);
} finally {
console.log("Finish");
}
}
main();
- When run this test, the src/extension.ts of neovim does not get run. why is that?
Metadata
Metadata
Assignees
Labels
No labels