Commit Graph

5 Commits

Author SHA1 Message Date
Ben Newman
3f3aac4fd1 Implement babel-runtime/helpers/slicedToArray, with tests.
Fixes #6076.
2016-01-25 15:17:54 -05:00
Ben Newman
4ca721c051 Add tests of Map and Set ...spread elements.
Closes #5980.
2016-01-21 17:33:28 -05:00
Ben Newman
a0c2ef5b49 Fix ecmascript tests after Babel 6 upgrade. 2016-01-21 17:33:28 -05:00
Ben Newman
ba0aa4d709 Avoid _.extend in IE8-sensitive ecmascript tests.
The underlying problem is that `es5-shim` polyfills `Array.prototype`
methods in IE8, but it can't actually make them non-enumerable, so
`_.extend` copies them, because it doesn't check `hasOwnProperty`.

This probably calls for a more general audit of for-in loops over objects
that could be Arrays, especially within underscore.
2015-07-24 16:54:16 -04:00
David Greenspan
d0c192a141 Bring babel-tests unit tests into ecmascript 2015-07-19 16:14:06 -07:00