Skip to content

Conversation

@mrtnzlml
Copy link
Contributor

@mrtnzlml mrtnzlml commented Apr 24, 2019

Hello, I tried the new no-mocks-import rule (#246) but it's failing on dynamic imports requires. I am adding at least this failing test since I am not sure how to fix it properly. Thank you for checking it! :)

adeira-github-bot pushed a commit to kiwicom/eslint-config-kiwicom that referenced this pull request Apr 24, 2019
The new eslint rule `jest/no-mocks-import` is disabled for now because of some issue with dynamic imports. See: jest-community/eslint-plugin-jest#249

kiwicom-source-id: 7b3cacb71cb79871f9caf2b3f3677500b0111796
@jeysal
Copy link
Member

jeysal commented Apr 24, 2019

@mrtnzlml Thanks for trying it and reporting this! AST traversal without type checking is hard, apparently 😄
Opened #250

@SimenB SimenB closed this in #250 Apr 25, 2019
SimenB pushed a commit that referenced this pull request Apr 25, 2019
@SimenB
Copy link
Member

SimenB commented Apr 25, 2019

🎉 This issue has been resolved in version 22.5.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants