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
AVA does not load polyfills when running tests. This means features like ['foo', 'bar'].includes('foo') are not available. We should update the ES2015 docs to point this out, and add a recipe explaining how to use babel-polyfill with AVA.
There should be a caveat to the latter that users shouldn't load babel-polyfill unless they also use it in their applications, since the polyfill will apply to both test and source files.