Parcourir la source

update jest, rn

Daniel Zlotin il y a 8 ans
Parent
révision
b12e0c99c4
2 fichiers modifiés avec 6 ajouts et 19 suppressions
  1. 1
    2
      package.json
  2. 5
    17
      yarn.lock

+ 1
- 2
package.json Voir le fichier

@@ -51,11 +51,10 @@
51 51
     "eslint-plugin-react-native": "2.x.x",
52 52
     "jest": "17.x.x",
53 53
     "jest-cli": "17.x.x",
54
-    "jest-react-native": "17.x.x",
55 54
     "react-test-renderer": "15.4.1"
56 55
   },
57 56
   "jest": {
58
-    "preset": "jest-react-native",
57
+    "preset": "react-native",
59 58
     "resetMocks": true,
60 59
     "resetModules": true
61 60
   }

+ 5
- 17
yarn.lock Voir le fichier

@@ -1654,11 +1654,7 @@ dom-walk@^0.1.0:
1654 1654
   version "0.1.1"
1655 1655
   resolved "https://registry.yarnpkg.com/dom-walk/-/dom-walk-0.1.1.tgz#672226dc74c8f799ad35307df936aba11acd6018"
1656 1656
 
1657
-domelementtype@1:
1658
-  version "1.3.0"
1659
-  resolved "https://registry.yarnpkg.com/domelementtype/-/domelementtype-1.3.0.tgz#b17aed82e8ab59e52dd9c19b1756e0fc187204c2"
1660
-
1661
-domelementtype@~1.1.1:
1657
+domelementtype@1, domelementtype@~1.1.1:
1662 1658
   version "1.1.3"
1663 1659
   resolved "https://registry.yarnpkg.com/domelementtype/-/domelementtype-1.1.3.tgz#bd28773e2642881aec51544924299c5cd822185b"
1664 1660
 
@@ -2671,7 +2667,7 @@ http-signature@~1.1.0:
2671 2667
     jsprim "^1.2.2"
2672 2668
     sshpk "^1.7.0"
2673 2669
 
2674
-iconv-lite@0.4.11, iconv-lite@^0.4.5:
2670
+iconv-lite@0.4.11:
2675 2671
   version "0.4.11"
2676 2672
   resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.11.tgz#2ecb42fd294744922209a2e7c404dac8793d8ade"
2677 2673
 
@@ -2764,7 +2760,7 @@ interpret@^1.0.0:
2764 2760
   version "1.0.1"
2765 2761
   resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.0.1.tgz#d579fb7f693b858004947af39fa0db49f795602c"
2766 2762
 
2767
-invariant@^2.0.0, invariant@^2.2.0:
2763
+invariant@^2.2.0:
2768 2764
   version "2.2.2"
2769 2765
   resolved "https://registry.yarnpkg.com/invariant/-/invariant-2.2.2.tgz#9e1f56ac0acdb6bf303306f338be3b204ae60360"
2770 2766
   dependencies:
@@ -3211,10 +3207,6 @@ jest-mock@^17.0.2:
3211 3207
   version "17.0.2"
3212 3208
   resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-17.0.2.tgz#3dfe9221afd9aa61b3d9992840813a358bb2f429"
3213 3209
 
3214
-jest-react-native@17.x.x:
3215
-  version "17.1.0"
3216
-  resolved "https://registry.yarnpkg.com/jest-react-native/-/jest-react-native-17.1.0.tgz#72e3ad7ecf664057c782ad0785c93fcdd42e459d"
3217
-
3218 3210
 jest-resolve-dependencies@^17.0.3:
3219 3211
   version "17.0.3"
3220 3212
   resolved "https://registry.yarnpkg.com/jest-resolve-dependencies/-/jest-resolve-dependencies-17.0.3.tgz#bbd37f4643704b97a980927212f3ab12b06e8894"
@@ -3761,13 +3753,13 @@ mime-db@~1.23.0:
3761 3753
   version "1.23.0"
3762 3754
   resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.23.0.tgz#a31b4070adaea27d732ea333740a64d0ec9a6659"
3763 3755
 
3764
-mime-types@2.1.11:
3756
+mime-types@2.1.11, mime-types@~2.1.9:
3765 3757
   version "2.1.11"
3766 3758
   resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.11.tgz#c259c471bda808a85d6cd193b430a5fae4473b3c"
3767 3759
   dependencies:
3768 3760
     mime-db "~1.23.0"
3769 3761
 
3770
-mime-types@^2.1.12, mime-types@~2.1.11, mime-types@~2.1.13, mime-types@~2.1.6, mime-types@~2.1.7, mime-types@~2.1.9:
3762
+mime-types@^2.1.12, mime-types@~2.1.11, mime-types@~2.1.13, mime-types@~2.1.6, mime-types@~2.1.7:
3771 3763
   version "2.1.13"
3772 3764
   resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.13.tgz#e07aaa9c6c6b9a7ca3012c69003ad25a39e92a88"
3773 3765
   dependencies:
@@ -4400,10 +4392,6 @@ react-proxy@^1.1.7:
4400 4392
     lodash "^4.6.1"
4401 4393
     react-deep-force-update "^1.0.0"
4402 4394
 
4403
-react-test-renderer@15.3.2:
4404
-  version "15.3.2"
4405
-  resolved "https://registry.yarnpkg.com/react-test-renderer/-/react-test-renderer-15.3.2.tgz#d8f083d37d2d41e97bbdc26a1dd9282f0baf7857"
4406
-
4407 4395
 react-test-renderer@15.4.1:
4408 4396
   version "15.4.1"
4409 4397
   resolved "https://registry.yarnpkg.com/react-test-renderer/-/react-test-renderer-15.4.1.tgz#e38cd7057868d4a655d3764689735b4b97260706"