diff --git a/.pnp.cjs b/.pnp.cjs index 7d53a9d0..40836d10 100755 --- 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.4.3"],\ ["@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.4.3"],\ ["@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.4.3", {\ + "packageLocation": "./.yarn/cache/@testing-library-react-native-npm-12.4.3-8c00e92b5c-bd1c06b200.zip/node_modules/@testing-library/react-native/",\ "packageDependencies": [\ - ["@testing-library/react-native", "npm:8.0.0"]\ + ["@testing-library/react-native", "npm:12.4.3"]\ ],\ "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.4.3", {\ + "packageLocation": "./.yarn/__virtual__/@testing-library-react-native-virtual-4a5c2b77ee/0/cache/@testing-library-react-native-npm-12.4.3-8c00e92b5c-bd1c06b200.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.4.3"],\ + ["@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 ebf2eca6..af16135f 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.4.3", "@tsconfig/node14": "14.1.0", "@types/debounce": "^1.2.1", "@types/jest": "^27.4.1", diff --git a/yarn.lock b/yarn.lock index 9230c692..811e3325 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.4.3 "@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.4.3": + version: 12.4.3 + resolution: "@testing-library/react-native@npm:12.4.3" dependencies: - pretty-format: ^27.0.0 + jest-matcher-utils: ^29.7.0 + pretty-format: ^29.7.0 + 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: bd1c06b200063ffad26245cbc61b7256b5bfcc2c69a32f7e6dc9ff1bf44c3743117d5010b8dbc8f9a1b660c3ee22ccf9ecc320c03db52f9ec75ba7e52c1d8ba3 languageName: node linkType: hard @@ -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"