Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Conversation

clarkdo
Copy link
Member

@clarkdo clarkdo commented Feb 10, 2020

Fix #421

@clarkdo
Copy link
Member Author

clarkdo commented Feb 10, 2020

@vinayakkulkarni Can you give me a review ?

@@ -1,5 +1,6 @@
module.exports = () => {
return {
files: ['./test/**/*.spec.js'],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will mean that for e2e as well as unit tests, users would have to have .spec.js in their file name

Copy link
Member Author

@clarkdo clarkdo Feb 10, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually I think every real project will have fixed conveiton for tests naming, like *.spec.js or *.test.js, but your concern also makes sense.

I've moved setup to helpers which will be ingored by ava.

@clarkdo clarkdo merged commit c1afad4 into master Feb 18, 2020
@clarkdo clarkdo deleted the ava-error branch February 18, 2020 16:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Testing newly generated app fails with "No tests found in test/ava.setup.js"
2 participants