diff --git a/package-lock.json b/package-lock.json index 9a5b66b..b706912 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1232,9 +1232,9 @@ } }, "babel-plugin-jest-hoist": { - "version": "22.4.3", - "resolved": "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-22.4.3.tgz", - "integrity": "sha512-zhvv4f6OTWy2bYevcJftwGCWXMFe7pqoz41IhMi4xna7xNsX5NygdagsrE0y6kkfuXq8UalwvPwKTyAxME2E/g==", + "version": "22.4.4", + "resolved": "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-22.4.4.tgz", + "integrity": "sha512-DUvGfYaAIlkdnygVIEl0O4Av69NtuQWcrjMOv6DODPuhuGLDnbsARz3AwiiI/EkIMMlxQDUcrZ9yoyJvTNjcVQ==", "dev": true }, "babel-plugin-jsx-display-if": { @@ -1633,7 +1633,7 @@ "integrity": "sha512-a+M3LTEXTq3gxv0uBN9Qm6ahUl7a8pj923nFbCUdqFUSsf3YrX8Uc+C3MEwji5Af3LiQjSC7w4ooYewlz8HRTA==", "dev": true, "requires": { - "babel-plugin-jest-hoist": "22.4.3", + "babel-plugin-jest-hoist": "22.4.4", "babel-plugin-syntax-object-rest-spread": "6.13.0" } }, diff --git a/package.json b/package.json index 33271ff..451343c 100644 --- a/package.json +++ b/package.json @@ -21,6 +21,7 @@ "devDependencies": { "babel-eslint": "^8.2.3", "babel-jest": "22.4.3", + "babel-plugin-jest-hoist": "^22.4.4", "babel-plugin-jsx-display-if": "^3.0.0", "babel-preset-react-native": "4.0.0", "enzyme": "^3.3.0", @@ -39,6 +40,7 @@ }, "jest": { "preset": "react-native", + "setupTestFrameworkScriptFile": "/config/enzyme.js", "snapshotSerializers": [ "enzyme-to-json/serializer" ]