Skip to content

Commit 87f41af

Browse files
authored
Merge pull request #190 from contentstack/fix/test-case-esm
fix: correct esm export path in test to remove duplicate .js extension
2 parents 698d51e + 4336c0e commit 87f41af

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
@@ -29,7 +29,7 @@ describe('ESM Exports Tests', () => {
2929
it('should re-export getData from ESM index.js', () => {
3030
const indexContent = fs.readFileSync(esmIndexPath, 'utf-8');
3131
// ESM builds include .js extension in import paths
32-
expect(indexContent).toContain("export * from './lib/request.js.js'");
32+
expect(indexContent).toContain("export * from './lib/request.js'");
3333
});
3434

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

0 commit comments

Comments
 (0)