Increase test coverage (#4742)

* Add tests for path type inferers

* Add test for babel-types.valueToNode

* Add tests for babel-types.toKeyAlias

* Add tests for babel-types.toStatement

* Add tests for babel-types.toExpression

* Lint fixes in babel-traverse/test/inference
This commit is contained in:
Moti Zilberman
2016-10-23 11:51:09 +03:00
committed by Daniel Tschinder
parent beda884f41
commit fd4667e649
3 changed files with 296 additions and 22 deletions

View File

@@ -137,7 +137,13 @@ function Func() {
return t.genericTypeAnnotation(t.identifier("Function"));
}
export { Func as Function, Func as Class };
export {
Func as FunctionExpression,
Func as ArrowFunctionExpression,
Func as FunctionDeclaration,
Func as ClassExpression,
Func as ClassDeclaration
};
export function CallExpression() {
return resolveCall(this.get("callee"));