diff --git a/test/__fixtures__/named-imports.ts b/test/__fixtures__/named-imports.ts index bb71675..1a723a7 100644 --- a/test/__fixtures__/named-imports.ts +++ b/test/__fixtures__/named-imports.ts @@ -1,3 +1,3 @@ // @ts-nocheck -import { m1, m2 } from 'my-module'; +import { m1, m2 as m2_ } from 'my-module'; import type { m3 } from 'my-module'; diff --git a/test/index.test.ts b/test/index.test.ts index 648ff8c..e86fdc9 100644 --- a/test/index.test.ts +++ b/test/index.test.ts @@ -96,7 +96,7 @@ describe('scanImportDeclarations', () => { }, { isTypeOnly: false, - importedBinding: 'm2', + importedBinding: 'm2_', moduleExportName: 'm2', }, ],