Skip to content

Add mendix module mock and update jest config#192

Closed
samuelreichert wants to merge 3 commits into
mendix:masterfrom
samuelreichert:feat/mendix-jest-mock
Closed

Add mendix module mock and update jest config#192
samuelreichert wants to merge 3 commits into
mendix:masterfrom
samuelreichert:feat/mendix-jest-mock

Conversation

@samuelreichert

Copy link
Copy Markdown
Contributor
  • Add mocks/mendix.js mock for the mendix root module
  • Map ^mendix$ in moduleNameMapper to the new mock

Checklist

  • Contains unit tests ❌
  • Contains breaking changes ❌
  • Compatible with: MX 7️⃣, 8️⃣, 9️⃣
  • Did you update version and changelog? ✅ ❌
  • PR title properly formatted ([XX-000]: description)? ✅ ❌

This PR contains

  • Bug fix
  • Feature
  • Refactor
  • Documentation
  • Other (describe)

What is the purpose of this PR?

...

Relevant changes

Please add a high level explanation of what was changed and how the initial problem was solved

What should be covered while testing?

...

Extra comments (optional)

Please add extra comments or delete the section if not required

@samuelreichert samuelreichert requested a review from a team as a code owner July 6, 2026 13:37
- Add __mocks__/mendix.js mock for the mendix root module
- Map ^mendix$ in moduleNameMapper to the new mock
- Reformat jest.config.js to 2-space indentation

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
samuelreichert and others added 2 commits July 6, 2026 16:30
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@mendix-widgets-framework

Copy link
Copy Markdown
Contributor

Duplicate of #191

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants