From 4336c0e01793c265c6fec9e15fa6585a80e35df2 Mon Sep 17 00:00:00 2001 From: Nadeem Patwekar Date: Wed, 28 Jan 2026 12:04:55 +0530 Subject: [PATCH] fix: correct esm export path in test to remove duplicate .js extension --- test/esm-exports.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/esm-exports.spec.ts b/test/esm-exports.spec.ts index 908f393..da07797 100644 --- a/test/esm-exports.spec.ts +++ b/test/esm-exports.spec.ts @@ -29,7 +29,7 @@ describe('ESM Exports Tests', () => { it('should re-export getData from ESM index.js', () => { const indexContent = fs.readFileSync(esmIndexPath, 'utf-8'); // ESM builds include .js extension in import paths - expect(indexContent).toContain("export * from './lib/request.js.js'"); + expect(indexContent).toContain("export * from './lib/request.js'"); }); it('should verify getData is a named export in ESM build', () => {