Merge branch 'tests' of https://github.com/arthurvr/babel into arthurvr-tests
This commit is contained in:
commit
e6846b2730
@ -29,7 +29,7 @@ See [CHANGELOG - 6to5](CHANGELOG-6to5.md) for the pre-4.0.0 version changelog.
|
||||
|
||||
## 5.6.5
|
||||
|
||||
* *Bug Fix**
|
||||
* **Bug Fix**
|
||||
* Fix nested functions causing rest parameter optimisation to not properly detect when it should deopt on a reference.
|
||||
* **Internal**
|
||||
* Update Regenerator `0.8.31`.
|
||||
|
||||
@ -101,6 +101,11 @@ suite("util", function () {
|
||||
assert.strictEqual(util.booleanify("inline"), "inline");
|
||||
});
|
||||
|
||||
test("resolve", function () {
|
||||
assert.notEqual(util.resolve("is-integer").indexOf("node_modules/is-integer"), -1);
|
||||
assert.equal(util.resolve("foo-bar-module"), null);
|
||||
});
|
||||
|
||||
test("toIdentifier", function () {
|
||||
assert.equal(t.toIdentifier(t.identifier("swag")), "swag");
|
||||
assert.equal(t.toIdentifier("swag-lord"), "swagLord");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user