Fix incorrect react-native version

This commit is contained in:
Bill Thornton 2024-06-03 14:44:32 -04:00
parent b33e58f360
commit 1565d8866e
3 changed files with 5 additions and 5 deletions

6
package-lock.json generated
View File

@ -11735,9 +11735,9 @@
"integrity": "sha512-fBASbA6LnOU9dOU2eW7aQ8xmYBSXUIWr+UmF9b1efZBazGNO+rcXT/icdKnYm2pTwcRylVUYwW7H1PHfLekVzA=="
},
"react-native": {
"version": "0.69.6",
"resolved": "https://registry.npmjs.org/react-native/-/react-native-0.69.6.tgz",
"integrity": "sha512-wwXpqM+12kdEYdBZCJUb5SBu95CzgejrwFeYJ78RzHZV/Sj6DBRekbsHGrDDsY4R25QXALQxy4DQYQCObVvWjA==",
"version": "0.69.9",
"resolved": "https://registry.npmjs.org/react-native/-/react-native-0.69.9.tgz",
"integrity": "sha512-I1xqIn47RWxBToO4E6yqyIPSaK9mZnMiscMfrFpWjQr3Gdkicr9y+twmtrRszxaLdQLjHzh/M3y4qOqc3hZnpg==",
"requires": {
"@jest/create-cache-key-function": "^27.0.1",
"@react-native-community/cli": "^8.0.4",

View File

@ -65,7 +65,7 @@
"react": "18.0.0",
"react-i18next": "11.18.6",
"react-lifecycles-compat": "3.0.4",
"react-native": "0.69.6",
"react-native": "0.69.9",
"react-native-elements": "3.4.3",
"react-native-gesture-handler": "~2.5.0",
"react-native-get-random-values": "~1.8.0",

View File

@ -21,7 +21,7 @@ describe('ServerValidator', () => {
});
it('should throw an error if hostname is invalid', () => {
expect(() => parseUrl('/')).toThrow('Invalid URL: /');
expect(() => parseUrl('/')).toThrow('Invalid URL');
});
it('should default to http protocol if not specified', () => {