diff --git a/packages/test-harness/src/index.ts b/packages/test-harness/src/index.ts index 565cf038e4..744d105c8b 100644 --- a/packages/test-harness/src/index.ts +++ b/packages/test-harness/src/index.ts @@ -17,6 +17,9 @@ function delay(ms: number) { // FIXME: this is neovim specific atm so in the future we can support other apps here // with an environment variable export async function run(plugin: NvimPlugin): Promise { + console.error( + "CED: run() (error to simulate always logging even if logging level is set to error)", + ); console.log("CED: run()"); // await delay(10000); // console.log("CED: run() after sleep"); @@ -39,6 +42,7 @@ export async function run(plugin: NvimPlugin): Promise { return; } console.log("CED: runAllTests succeeded (1)"); + // console.error("CED: random error message to make sure stuff is logged"); // XXX: kill neovim with 0 code ":q!" command? // XXX: launchNeovimAndRunTests.ts will catch that error code diff --git a/packages/test-harness/src/launchNeovimAndRunTests.ts b/packages/test-harness/src/launchNeovimAndRunTests.ts index c0e94d6534..c25c7f08c9 100644 --- a/packages/test-harness/src/launchNeovimAndRunTests.ts +++ b/packages/test-harness/src/launchNeovimAndRunTests.ts @@ -28,6 +28,9 @@ function delay(ms: number) { * `--extensionTestsPath` */ export async function launchNeovimAndRunTests(extensionTestsPath: string) { + console.error( + "CED: launchNeovimAndRunTests() (error to simulate always logging even if logging level is set to error)", + ); let code = 1; // failure try { // The folder containing the Extension Manifest package.json