mirror of
https://github.com/abhigyanpatwari/GitNexus.git
synced 2026-09-27 01:21:18 +00:00
chore(autofix): apply prettier + eslint fixes via /autofix command
This commit is contained in:
parent
13049de0e7
commit
b6a1fe1a47
1 changed files with 1 additions and 7 deletions
|
|
@ -181,13 +181,7 @@ describe('ESM extension resolution — path aliases with .js extensions', () =>
|
|||
|
||||
it('resolves @/component.jsx to src/component.tsx via alias', () => {
|
||||
const ctx = makeCtx(['src/index.ts', 'src/component.tsx']);
|
||||
const result = resolveWithAlias(
|
||||
'src/index.ts',
|
||||
'@/component.jsx',
|
||||
ctx,
|
||||
[['@/', 'src/']],
|
||||
'.',
|
||||
);
|
||||
const result = resolveWithAlias('src/index.ts', '@/component.jsx', ctx, [['@/', 'src/']], '.');
|
||||
expect(result).toBe('src/component.tsx');
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue