Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add failing test for no-mocks-import dynamic requires #249

Closed
wants to merge 1 commit into from
Closed

Add failing test for no-mocks-import dynamic requires #249

wants to merge 1 commit into from

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
Fixes #249

Co-authored-by: Martin Zlámal <mrtnzlml@gmail.com>
@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.

None yet

3 participants