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

Fixtures and helpers are not compiled via Babel #1037

Closed
vadimdemedes opened this issue Sep 11, 2016 · 1 comment
Closed

Fixtures and helpers are not compiled via Babel #1037

vadimdemedes opened this issue Sep 11, 2016 · 1 comment
Labels
bug current functionality does not work as desired help wanted

Comments

@vadimdemedes
Copy link
Contributor

I've used default function parameters while testing code on Node.js v4 (which does not support them) and discovered that AVA does not compile helpers, fixtures and underscore-prefixed files (e.g. _setup.js).

I compile the library source via Babel and AVA takes care of test files, but using "next-gen" code in test helpers breaks the compatibility.

The solution to this would be to include tests, fixtures and _*.js files into precompilation, but still ignore those files (not treat them as tests).

@vadimdemedes vadimdemedes added bug current functionality does not work as desired help wanted babel labels Sep 11, 2016
@novemberborn
Copy link
Member

See #720.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug current functionality does not work as desired help wanted
Projects
None yet
Development

No branches or pull requests

2 participants