Skip to content

Support helpers globs #2105

Closed
Closed
@novemberborn

Description

@novemberborn

#2103 removes AVA's support for finding helper files inside helpers directories. Instead we'll support this by letting users specify glob patterns to find helpers:

  • Implement helpers configuration. If specified, it must be an array containing at least one pattern
  • Any test files matched by helpers patterns must be treated as helpers
  • Watch mode must ensure that helpers are treated as sources, not tests
  • If the Babel pipeline is disabled (babel: false and compileEnhancements: false), optimize by not finding helpers: just make sure test files that match the helper patterns are not treated as tests
  • The documentation needs updating

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions