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
The documentation includes information on how to get ES6 support for ava, which is great. Would it be possible to include docs on how to get ES7 in also?
Here's a realistic use case:
A React component with the @connect() decorator from Redux:
importtestfrom'ava';import{isElementOfType}from'react-addons-test-utils';import'babel-core/register';// as per docsvarFoo=require('../src/foo.jsx');test('foo ',t=>{constsimpleFoo=React.createElement(Foo);t.ok(isElementOfType(Foo,simpleFoo));});
The documentation includes information on how to get ES6 support for ava, which is great. Would it be possible to include docs on how to get ES7 in also?
Here's a realistic use case:
A React component with the
@connect()
decorator from Redux:A test file for unit testing it:
I tried using a shim that apparently worked for people back when iojs was separate, but the namespaces don't match anymore:
On the other hand, this guy claims ava supports es7 without any extra effort.
Either way, it would be nice to get some documentation on this--I'm interested in using ava going forward.
The text was updated successfully, but these errors were encountered: