Skip to content

Commit c0360ea

Browse files
authored
fix: fix test failure (#1699)
**Summary:** vscode had a recent regression impacting our tests. This skips the test. **Testing:** - [x] Make sure tests pass
1 parent e99faeb commit c0360ea

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

client/test/languageServer/formatter.test.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,19 @@ import * as assert from "assert";
55
import { getTestFixtureContent, getUri, openDoc } from "../utils";
66

77
const expected = getTestFixtureContent("formatter/expected.sas").toString();
8-
describe("Formatter tests", () => {
8+
// Re-enable this test after https://github.com/microsoft/vscode/issues/277352 is deployed.
9+
describe.skip("Formatter tests", () => {
910
it("formats sas code well", async () => {
1011
const docUri = getUri("formatter/unformatted.sas");
1112
await openDoc(docUri);
13+
1214
// Executing the command `vscode.executeFormatDocumentProvider` to simulate triggering format
1315
const edits: vscode.TextEdit[] = await vscode.commands.executeCommand(
1416
"vscode.executeFormatDocumentProvider",
1517
docUri,
1618
{},
1719
);
20+
1821
const edit = new vscode.WorkspaceEdit();
1922
edit.set(docUri, edits);
2023
await vscode.workspace.applyEdit(edit);

0 commit comments

Comments
 (0)