Skip to content

Commit

Permalink
improve tests for named_imports
Browse files Browse the repository at this point in the history
  • Loading branch information
yuheiy committed Oct 6, 2024
1 parent c3efdd8 commit 8e7adca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/__fixtures__/named-imports.ts
Original file line number Diff line number Diff line change
@@ -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';
2 changes: 1 addition & 1 deletion test/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ describe('scanImportDeclarations', () => {
},
{
isTypeOnly: false,
importedBinding: 'm2',
importedBinding: 'm2_',
moduleExportName: 'm2',
},
],
Expand Down

0 comments on commit 8e7adca

Please sign in to comment.