You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mylib will also be run through babel and that is not good, because that way AVA transforms library's source code. This behavior could be fixed by setting a regex for require('babel/register') to whitelist only test files.
The text was updated successfully, but these errors were encountered:
I think we should apply
babel
only to test files, e.gtest.js
,test/test-something.js
.Currently, if you have this common code:
mylib
will also be run throughbabel
and that is not good, because that way AVA transforms library's source code. This behavior could be fixed by setting a regex forrequire('babel/register')
to whitelist only test files.The text was updated successfully, but these errors were encountered: