You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Changelog:
✨ Improvements
#19 Preserve generic arguments for a mocked type so that MockMode.autofill and MockMode.autoUnit work better with generics, especially lambdas.
The Gradle plugin warns about potential Kotlin version incompatibilities whenever the major or minor version is higher than the version Mokkery was compiled against. Warning can be disabled by Gradle properties flag dev.mokkery.versionWarnings=false
🐛 Bug fixes
Fix MockMany identifier to remove unnecessary type parameter information.
Fix Intelij internal error when integrating with Mokkery frontend plugin. IntelliJ integration with K2 frontend plugins is currently enabled by default only for first-party plugins (e.g., kotlinx.serialization, Compose). Integration with third-party plugins is experimental and requires disabling the kotlin.k2.only.bundled.compiler.plugins.enabled flag in the IDE registry (Shift + Shift and search for Registry) .