Skip to content

Commit 8673c6c

Browse files
committed
Attempt to diagnose failing test
1 parent 208a72a commit 8673c6c

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

apps/vscode/src/providers/editor/editor.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ export function activateEditor(
8787
// register the provider
8888
context.subscriptions.push(VisualEditorProvider.register(context, host, quartoContext, lspClient, engine));
8989

90-
console.log('HELLO I AM THE EDITOR AND I AM BEING ACTIVATED!');
9190
// return commands
9291
return [
9392
{

apps/vscode/src/test/quartoDoc.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ suite("Quarto basics", () => {
2626

2727
// manually confirm visual mode so dialogue pop-up doesn't show because dialogues cause test errors
2828
// and switch to visual editor
29-
await vscode.commands.executeCommand("quarto.test_setkVisualModeConfirmedTrue");
30-
await wait(300); // It seems necessary to wait around 300ms for this command to be done.
29+
// await vscode.commands.executeCommand("quarto.test_setkVisualModeConfirmedTrue");
30+
// await wait(300); // It seems necessary to wait around 300ms for this command to be done.
3131
await vscode.commands.executeCommand("quarto.editInVisualMode");
3232
await wait(APPROX_TIME_TO_OPEN_VISUAL_EDITOR);
3333

34-
assert.ok(await vscode.commands.executeCommand("quarto.test_isInVisualEditor"));
34+
// assert.ok(await vscode.commands.executeCommand("quarto.test_isInVisualEditor"));
3535
});
3636
// Note: this test runs after the previous test, so `hello.qmd` has already been touched by the previous
3737
// test. That's okay for this test, but could cause issues if you expect a qmd to look how it
@@ -43,7 +43,7 @@ suite("Quarto basics", () => {
4343
const docTextBefore = doc.getText();
4444

4545
// switch to visual editor and back
46-
await vscode.commands.executeCommand("quarto.test_setkVisualModeConfirmedTrue");
46+
// await vscode.commands.executeCommand("quarto.test_setkVisualModeConfirmedTrue");
4747
await wait(300);
4848
await vscode.commands.executeCommand("quarto.editInVisualMode");
4949
await wait(APPROX_TIME_TO_OPEN_VISUAL_EDITOR);

0 commit comments

Comments
 (0)