Skip to content

Commit 4903dbe

Browse files
committed
test: try to format cell only
1 parent f39071a commit 4903dbe

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

apps/vscode/src/test/formatting.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ suite("Code Block Formatting", function () {
1111

1212
const { doc, editor } = await openAndShowTextDocument("format-python.qmd");
1313

14-
// const position = new vscode.Position(7, 2); // Line with "1+1"
15-
// editor.selection = new vscode.Selection(position, position);
16-
// await vscode.commands.executeCommand("quarto.formatCell");
17-
await vscode.commands.executeCommand("vscode.executeFormatDocumentProvider", doc.uri);
14+
const position = new vscode.Position(7, 2); // Line with "1+1"
15+
editor.selection = new vscode.Selection(position, position);
16+
await vscode.commands.executeCommand("quarto.formatCell");
17+
// await vscode.commands.executeCommand("vscode.executeFormatDocumentProvider", doc.uri);
1818

1919
await wait(500);
2020

0 commit comments

Comments
 (0)