mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-11-18 20:11:14 +00:00
organizeImports: Fix bug in reference-testing for renamed import (#22797)
This commit is contained in:
3 files changed
+20
-1
No files matched your search
@@ -197,6 +197,16 @@ export const Other = 1;
|
||||
assert.isEmpty(changes);
|
||||
});
|
||||
|
||||
testOrganizeImports("Renamed_used",
|
||||
{
|
||||
path: "/test.ts",
|
||||
content: `
|
||||
import { F1 as EffOne, F2 as EffTwo } from "lib";
|
||||
EffOne();
|
||||
`,
|
||||
},
|
||||
libFile);
|
||||
|
||||
testOrganizeImports("Simple",
|
||||
{
|
||||
path: "/test.ts",
|
||||
|
||||
Reference in new issue
Block a user