Skip to content

fix: Refactor import statements to include file extensions#40

Open
harshpreet931 wants to merge 1 commit into
mainfrom
fix/ESM-fix
Open

fix: Refactor import statements to include file extensions#40
harshpreet931 wants to merge 1 commit into
mainfrom
fix/ESM-fix

Conversation

@harshpreet931
Copy link
Copy Markdown
Collaborator

This pull request updates all import statements in test files to use explicit .js extensions for local module imports. This change ensures compatibility with modern JavaScript module resolution, particularly in environments that require explicit file extensions (such as ES modules in Node.js and certain bundlers).

Test code modernization:

No functional changes were made to the test logic; this is a purely structural update for module import correctness.

- Updated all import statements across the codebase to include the `.js` file extension for consistency and clarity.
- This change affects various test files, core modules, and utility functions, ensuring that all imports explicitly reference their file types.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant