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
no-import-test-files
considers test/helpers/index.js
a test file
#311
Labels
Comments
Yea that looks like a bug. Our plugin should be using the installed AVA version to classify the imports. That should end up in this function: |
fregante
changed the title
Unable to satisfy
Sep 29, 2020
no-import-test-files
no-import-test-files
considers test/helpers/index.js
to be a test file
fregante
changed the title
Sep 29, 2020
no-import-test-files
considers test/helpers/index.js
to be a test fileno-import-test-files
considers test/helpers/index.js
a test file
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
From my understanding, `/helpers/ are not test files: https://github.com/avajs/ava/blob/1222ce9538e4890c20af695e558e3ee490f5a41b/docs/05-command-line.md#cli
And should pass: https://github.com/avajs/eslint-plugin-ava/blob/7542453058c30ebbc79c7bfeb689492fce226d8f/docs/rules/no-import-test-files.md
But they don't:
Setup
repro.zip
Output
The text was updated successfully, but these errors were encountered: