Skip to content

Commit

Permalink
test: add tsx case for imports checkup
Browse files Browse the repository at this point in the history
  • Loading branch information
PeachScript committed May 8, 2024
1 parent aebcde0 commit 79388a9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions tests/fixtures/doctor/errors/src/component.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default } from './CamelCase'
6 changes: 3 additions & 3 deletions tests/fixtures/doctor/errors/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ import orgAlias from '@org/alias';
import orgExternals from '@org/externals';
import alias from 'alias';
import path from 'child_process';
import esm from 'esm';
import externals from 'externals';
import hello from 'hello';
import BigCamelCase from './CamelCase';
import esm from 'esm';
import component from './component';
import './index.less';

// to avoid esbuild tree-shaking
Expand All @@ -17,6 +17,6 @@ console.log(
externals,
orgExternals,
path,
BigCamelCase,
component,
esm,
);

0 comments on commit 79388a9

Please sign in to comment.