babel-plugin-jest-hoist
Advanced tools
Comparing version 1.0.0 to 9.0.3
{ | ||
"name": "babel-plugin-jest-hoist", | ||
"version": "1.0.0", | ||
"version": "9.0.3", | ||
"repository": { | ||
@@ -5,0 +5,0 @@ "type": "git", |
@@ -7,2 +7,4 @@ /** | ||
* of patent rights can be found in the PATENTS file in the same directory. | ||
* | ||
* @emails oncall+jsinfra | ||
*/ | ||
@@ -9,0 +11,0 @@ |
@@ -7,2 +7,4 @@ /** | ||
* of patent rights can be found in the PATENTS file in the same directory. | ||
* | ||
* @emails oncall+jsinfra | ||
*/ | ||
@@ -9,0 +11,0 @@ |
@@ -29,3 +29,2 @@ /** | ||
module.exports = babel => { | ||
const t = babel.types; | ||
const shouldHoistExpression = expr => { | ||
@@ -32,0 +31,0 @@ if (!expr.isCallExpression()) { |
7578
185