Skip to content

Commit

Permalink
test: @putout/plugin-declare-imports-first: ExportNamespaceSpecifier (b…
Browse files Browse the repository at this point in the history
  • Loading branch information
coderaiser committed Sep 8, 2022
1 parent f37da0d commit 1b35976
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ test('plugin-declaration-imports-first: no report: no-vars', (t) => {
t.end();
});

test('plugin-declaration-imports-first: no report: export-star', (t) => {
t.transform('export-star');
t.end();
});

test('plugin-declaration-imports-first: transform: remove', (t) => {
t.transform('remove', {
remove: {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export * as fs2 from 'fs/promises';
const {writeFile} = await import('fs/promses');
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
const {writeFile} = await import('fs/promses');
export * as fs2 from 'fs/promises';

0 comments on commit 1b35976

Please sign in to comment.