Skip to content

Conversation

@fabiendostie
Copy link
Owner

This PR updates the Jest configuration to use ts-jest as the transformer for .js, .jsx, .ts, and .tsx files. This change allows the test suite to run React/JSX and TypeScript files without requiring Babel, resolving previous issues with ES module and JSX syntax in test files.

Key changes:

  • Added the transform option to jest.config.cjs to use ts-jest for all relevant file types.
  • Ensured compatibility for both JavaScript and TypeScript test files using JSX/TSX.
  • No application logic or production code was changed.

This should resolve the test runner errors and streamline the testing workflow.
Please review and merge if everything looks good!

@fabiendostie fabiendostie merged commit 50ace9b into develop Apr 18, 2025
1 of 3 checks passed
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.

2 participants