We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 428f5a1 commit 8003791Copy full SHA for 8003791
src/testRunner/unittests/services/organizeImports.ts
@@ -591,6 +591,22 @@ import "lib1";
591
},
592
{ path: "/lib1.ts", content: "" },
593
{ path: "/lib2.ts", content: "" });
594
+
595
+ testOrganizeImports("SortComments",
596
+ {
597
+ path: "/test.ts",
598
+ content: `
599
+// Header
600
+import "lib3";
601
+// Comment2
602
+import "lib2";
603
+// Comment1
604
+import "lib1";
605
+`,
606
+ },
607
+ { path: "/lib1.ts", content: "" },
608
+ { path: "/lib2.ts", content: "" },
609
+ { path: "/lib3.ts", content: "" });
610
611
testOrganizeImports("AmbientModule",
612
{
0 commit comments