File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
client/test/languageServer Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -5,16 +5,19 @@ import * as assert from "assert";
55import { getTestFixtureContent , getUri , openDoc } from "../utils" ;
66
77const 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 ) ;
You can’t perform that action at this time.
0 commit comments