Merge branch 'master' of github.com:babel/babel

This commit is contained in:
Sebastian McKenzie 2015-03-17 02:45:36 +11:00
commit 276cafaae1
3 changed files with 21 additions and 1 deletions

View File

@ -32,7 +32,7 @@ $ make test
```
This will usually take around two minutes as it's compiling the entire
[test262](https://github.com/tc39/test262) test suite and validating it's AST.
[test262](https://github.com/tc39/test262) test suite and validating its AST.
This is mostly overkill and you can limit the tests to a select few by directly
running them with `mocha`:
@ -40,6 +40,12 @@ running them with `mocha`:
$ mocha test/transformation.js
```
Use mocha's `--grep` option to run a subset of tests by name:
```sh
$ mocha test/transformation.js --grep es7
```
#### Workflow
* Fork the repository

View File

@ -0,0 +1,6 @@
var obj = {
foo: function foo() {
this.bar(...arguments)
this.blah(...arguments)
}
}

View File

@ -0,0 +1,8 @@
"use strict";
var obj = {
foo: function foo() {
this.bar.apply(this, arguments);
this.blah.apply(this, arguments);
}
};