Skip to content

Simplify globbing#2323

Merged
novemberborn merged 3 commits intomasterfrom
simplify-globbing
Dec 29, 2019
Merged

Simplify globbing#2323
novemberborn merged 3 commits intomasterfrom
simplify-globbing

Conversation

@novemberborn
Copy link
Copy Markdown
Member

@novemberborn novemberborn commented Dec 29, 2019

This removes the concept of "helpers" from AVA. Instead, the Babel
provider can be configured to compile additional files as tests. Files
starting with an underscore are still not treated as tests.

Now that AVA itself will no longer be compiling anything, we've also
removed the concept of "sources". Instead you can specify glob patterns
for files that the watcher should ignore.

The concept of helpers persists in our ESLint plugin however.

Glob patterns are always relative to the project directory.

See #2282 for the discussion that led to this change.

* Don't repeat duplicates
* Add unused defaults unless extensions are explicitly set to the empty array
This removes the concept of "helpers" from AVA. Instead, the Babel
provider can be configured to compile additional files as tests. Files
starting with an underscore are still *not* treated as tests.

Now that AVA itself will no longer be compiling *anything*, we've also
removed the concept of "sources". Instead you can specify glob patterns
for files that the watcher should ignore.

The concept of helpers persists in our ESLint plugin however.

Glob patterns are always relative to the project directory.
@novemberborn novemberborn merged commit 9deaa41 into master Dec 29, 2019
@novemberborn novemberborn deleted the simplify-globbing branch December 29, 2019 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant