File tree Expand file tree Collapse file tree 3 files changed +8
-36
lines changed
src/testRunner/unittests/services
baselines/reference/organizeImports Expand file tree Collapse file tree 3 files changed +8
-36
lines changed Original file line number Diff line number Diff line change @@ -679,23 +679,6 @@ import "lib1";
679679 { path : "/lib1.ts" , content : "" } ,
680680 { path : "/lib2.ts" , content : "" } ) ;
681681
682- testOrganizeImports ( "SortComments" ,
683- /*skipDestructiveCodeActions*/ false ,
684- {
685- path : "/test.ts" ,
686- content : `
687- // Header
688- import "lib3";
689- // Comment2
690- import "lib2";
691- // Comment1
692- import "lib1";
693- ` ,
694- } ,
695- { path : "/lib1.ts" , content : "" } ,
696- { path : "/lib2.ts" , content : "" } ,
697- { path : "/lib3.ts" , content : "" } ) ;
698-
699682 testOrganizeImports ( "AmbientModule" ,
700683 /*skipDestructiveCodeActions*/ false ,
701684 {
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1616//// anotherThing;
1717
1818verify . organizeImports (
19- `import * as anotherThing from "someopath"; /* small comment */ // single line one.
19+ `/* some comment here
20+ * and there
21+ */
22+ import * as anotherThing from "someopath"; /* small comment */ // single line one.
23+ /* some comment here
24+ * and there
25+ */
2026
21- anotherThing;` ) ;
27+ anotherThing;` ) ;
You can’t perform that action at this time.
0 commit comments