diff --git a/.pnp.cjs b/.pnp.cjs old mode 100755 new mode 100644 index 7d53a9d0f..4ee49ab4c --- a/.pnp.cjs +++ b/.pnp.cjs @@ -38,7 +38,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["@react-native-community/eslint-plugin", "npm:1.3.0"],\ ["@react-native/metro-config", "npm:0.72.11"],\ ["@sinonjs/fake-timers", "npm:11.2.1"],\ - ["@testing-library/react-native", "virtual:cce37341f1bd47a997e98e1a7d65a55e905402214e20352cf4048df3a7edd8e59456ea74ef47c4f395a6d5154d4005d441272de1beea6bfd91d8e1d39ae76247#npm:8.0.0"],\ + ["@testing-library/react-native", "virtual:cce37341f1bd47a997e98e1a7d65a55e905402214e20352cf4048df3a7edd8e59456ea74ef47c4f395a6d5154d4005d441272de1beea6bfd91d8e1d39ae76247#npm:12.3.0"],\ ["@tsconfig/node14", "npm:14.1.0"],\ ["@turf/along", "npm:6.5.0"],\ ["@turf/distance", "npm:6.5.0"],\ @@ -4778,7 +4778,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["@react-native-community/eslint-plugin", "npm:1.3.0"],\ ["@react-native/metro-config", "npm:0.72.11"],\ ["@sinonjs/fake-timers", "npm:11.2.1"],\ - ["@testing-library/react-native", "virtual:cce37341f1bd47a997e98e1a7d65a55e905402214e20352cf4048df3a7edd8e59456ea74ef47c4f395a6d5154d4005d441272de1beea6bfd91d8e1d39ae76247#npm:8.0.0"],\ + ["@testing-library/react-native", "virtual:cce37341f1bd47a997e98e1a7d65a55e905402214e20352cf4048df3a7edd8e59456ea74ef47c4f395a6d5154d4005d441272de1beea6bfd91d8e1d39ae76247#npm:12.3.0"],\ ["@tsconfig/node14", "npm:14.1.0"],\ ["@turf/along", "npm:6.5.0"],\ ["@turf/distance", "npm:6.5.0"],\ @@ -5372,29 +5372,35 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { }]\ ]],\ ["@testing-library/react-native", [\ - ["npm:8.0.0", {\ - "packageLocation": "./.yarn/cache/@testing-library-react-native-npm-8.0.0-c53d89e22a-15cb8deea5.zip/node_modules/@testing-library/react-native/",\ + ["npm:12.3.0", {\ + "packageLocation": "./.yarn/cache/@testing-library-react-native-npm-12.3.0-798640199d-409b64207b.zip/node_modules/@testing-library/react-native/",\ "packageDependencies": [\ - ["@testing-library/react-native", "npm:8.0.0"]\ + ["@testing-library/react-native", "npm:12.3.0"]\ ],\ "linkType": "SOFT"\ }],\ - ["virtual:cce37341f1bd47a997e98e1a7d65a55e905402214e20352cf4048df3a7edd8e59456ea74ef47c4f395a6d5154d4005d441272de1beea6bfd91d8e1d39ae76247#npm:8.0.0", {\ - "packageLocation": "./.yarn/__virtual__/@testing-library-react-native-virtual-56bdb7e590/0/cache/@testing-library-react-native-npm-8.0.0-c53d89e22a-15cb8deea5.zip/node_modules/@testing-library/react-native/",\ + ["virtual:cce37341f1bd47a997e98e1a7d65a55e905402214e20352cf4048df3a7edd8e59456ea74ef47c4f395a6d5154d4005d441272de1beea6bfd91d8e1d39ae76247#npm:12.3.0", {\ + "packageLocation": "./.yarn/__virtual__/@testing-library-react-native-virtual-726bbccc36/0/cache/@testing-library-react-native-npm-12.3.0-798640199d-409b64207b.zip/node_modules/@testing-library/react-native/",\ "packageDependencies": [\ - ["@testing-library/react-native", "virtual:cce37341f1bd47a997e98e1a7d65a55e905402214e20352cf4048df3a7edd8e59456ea74ef47c4f395a6d5154d4005d441272de1beea6bfd91d8e1d39ae76247#npm:8.0.0"],\ + ["@testing-library/react-native", "virtual:cce37341f1bd47a997e98e1a7d65a55e905402214e20352cf4048df3a7edd8e59456ea74ef47c4f395a6d5154d4005d441272de1beea6bfd91d8e1d39ae76247#npm:12.3.0"],\ + ["@types/jest", "npm:27.5.2"],\ ["@types/react", "npm:18.2.29"],\ ["@types/react-native", "npm:0.67.8"],\ ["@types/react-test-renderer", null],\ - ["pretty-format", "npm:27.5.1"],\ + ["jest", "virtual:cce37341f1bd47a997e98e1a7d65a55e905402214e20352cf4048df3a7edd8e59456ea74ef47c4f395a6d5154d4005d441272de1beea6bfd91d8e1d39ae76247#npm:29.7.0"],\ + ["jest-matcher-utils", "npm:29.7.0"],\ + ["pretty-format", "npm:29.7.0"],\ ["react", "npm:18.2.0"],\ ["react-native", "virtual:cce37341f1bd47a997e98e1a7d65a55e905402214e20352cf4048df3a7edd8e59456ea74ef47c4f395a6d5154d4005d441272de1beea6bfd91d8e1d39ae76247#npm:0.72.1"],\ - ["react-test-renderer", "virtual:cce37341f1bd47a997e98e1a7d65a55e905402214e20352cf4048df3a7edd8e59456ea74ef47c4f395a6d5154d4005d441272de1beea6bfd91d8e1d39ae76247#npm:18.2.0"]\ + ["react-test-renderer", "virtual:cce37341f1bd47a997e98e1a7d65a55e905402214e20352cf4048df3a7edd8e59456ea74ef47c4f395a6d5154d4005d441272de1beea6bfd91d8e1d39ae76247#npm:18.2.0"],\ + ["redent", "npm:3.0.0"]\ ],\ "packagePeers": [\ + "@types/jest",\ "@types/react-native",\ "@types/react-test-renderer",\ "@types/react",\ + "jest",\ "react-native",\ "react-test-renderer",\ "react"\ @@ -16374,6 +16380,17 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD"\ }]\ ]],\ + ["redent", [\ + ["npm:3.0.0", {\ + "packageLocation": "./.yarn/cache/redent-npm-3.0.0-31892f4906-fa1ef20404.zip/node_modules/redent/",\ + "packageDependencies": [\ + ["redent", "npm:3.0.0"],\ + ["indent-string", "npm:4.0.0"],\ + ["strip-indent", "npm:3.0.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ ["reflect.getprototypeof", [\ ["npm:1.0.4", {\ "packageLocation": "./.yarn/cache/reflect.getprototypeof-npm-1.0.4-fa901640c3-16e2361988.zip/node_modules/reflect.getprototypeof/",\ diff --git a/package.json b/package.json index ebf2eca68..740af9835 100644 --- a/package.json +++ b/package.json @@ -66,7 +66,7 @@ "@react-native-community/eslint-plugin": "^1.3.0", "@react-native/metro-config": "^0.72.7", "@sinonjs/fake-timers": "^11.1.0", - "@testing-library/react-native": "^8.0.0", + "@testing-library/react-native": "^12.3.0", "@tsconfig/node14": "14.1.0", "@types/debounce": "^1.2.1", "@types/jest": "^27.4.1", diff --git a/yarn.lock b/yarn.lock index 9230c6922..ce0e6f3ba 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2305,7 +2305,7 @@ __metadata: "@react-native-community/eslint-plugin": ^1.3.0 "@react-native/metro-config": ^0.72.7 "@sinonjs/fake-timers": ^11.1.0 - "@testing-library/react-native": ^8.0.0 + "@testing-library/react-native": ^12.3.0 "@tsconfig/node14": 14.1.0 "@turf/along": 6.5.0 "@turf/distance": 6.5.0 @@ -2816,16 +2816,22 @@ __metadata: languageName: node linkType: hard -"@testing-library/react-native@npm:^8.0.0": - version: 8.0.0 - resolution: "@testing-library/react-native@npm:8.0.0" +"@testing-library/react-native@npm:^12.3.0": + version: 12.3.0 + resolution: "@testing-library/react-native@npm:12.3.0" dependencies: - pretty-format: ^27.0.0 + jest-matcher-utils: ^29.6.2 + pretty-format: ^29.6.2 + redent: ^3.0.0 peerDependencies: - react: ">=16.0.0" + jest: ">=28.0.0" + react: ">=16.8.0" react-native: ">=0.59" - react-test-renderer: ">=16.0.0" - checksum: 15cb8deea536bcd29d091a23c51dfa36e74a5cf4176fd897e33e318a46bed6306dd9334c90589943c41ae0fc39107d8c36d927f08400fb817303b585a81b2c09 + react-test-renderer: ">=16.8.0" + peerDependenciesMeta: + jest: + optional: true + checksum: 409b64207b4c7319926e5ce590adf84fe7ddb17ebdec4a92d4562c2ddcb3c23d7cf2ffd8f1810ab3241590817296b019869116f6d91f4125b452bb88c90e9031 languageName: node linkType: hard @@ -8288,7 +8294,7 @@ __metadata: languageName: node linkType: hard -"jest-matcher-utils@npm:^29.7.0": +"jest-matcher-utils@npm:^29.6.2, jest-matcher-utils@npm:^29.7.0": version: 29.7.0 resolution: "jest-matcher-utils@npm:29.7.0" dependencies: @@ -11413,7 +11419,7 @@ __metadata: languageName: node linkType: hard -"pretty-format@npm:^29.0.0, pretty-format@npm:^29.7.0": +"pretty-format@npm:^29.0.0, pretty-format@npm:^29.6.2, pretty-format@npm:^29.7.0": version: 29.7.0 resolution: "pretty-format@npm:29.7.0" dependencies: @@ -11784,6 +11790,16 @@ __metadata: languageName: node linkType: hard +"redent@npm:^3.0.0": + version: 3.0.0 + resolution: "redent@npm:3.0.0" + dependencies: + indent-string: ^4.0.0 + strip-indent: ^3.0.0 + checksum: fa1ef20404a2d399235e83cc80bd55a956642e37dd197b4b612ba7327bf87fa32745aeb4a1634b2bab25467164ab4ed9c15be2c307923dd08b0fe7c52431ae6b + languageName: node + linkType: hard + "reflect.getprototypeof@npm:^1.0.4": version: 1.0.4 resolution: "reflect.getprototypeof@npm:1.0.4"