Skip to content

Commit e1bd29a

Browse files
committed
fix: update esm export path to include .js extension
1 parent 3fa58aa commit e1bd29a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/esm-exports.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ describe('ESM Exports Tests', () => {
2828

2929
it('should re-export getData from ESM index.js', () => {
3030
const indexContent = fs.readFileSync(esmIndexPath, 'utf-8');
31-
expect(indexContent).toContain("export * from './lib/request'");
31+
expect(indexContent).toContain("export * from './lib/request.js'");
3232
});
3333

3434
it('should verify getData is a named export in ESM build', () => {

0 commit comments

Comments
 (0)