[barcode-scanner][html-elements] Update jest snapshots (#23238)# Why `SDK/check-packages` actions are failing because `barcode-scanner` and `html-elements` snapshots are not up to date, that's
[barcode-scanner][html-elements] Update jest snapshots (#23238)# Why `SDK/check-packages` actions are failing because `barcode-scanner` and `html-elements` snapshots are not up to date, that's because updating `react-native-web` to `0.19.6` ended up changing some className hashes. # How Run `yarn test --update-snapshot` inside *packages/barcode-scanner* and *packages/html-elements* # Test Plan Ensure CI is green # Checklist <!-- Please check the appropriate items below if they apply to your diff. This is required for changes to Expo modules. --> - [ ] Documentation is up to date to reflect these changes (eg: https://docs.expo.dev and README.md). - [ ] Conforms with the [Documentation Writing Style Guide](https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md) - [ ] This diff will work correctly for `npx expo prebuild` & EAS Build (eg: updated a module plugin).
show more ...
Fix all failing SDK checks
[2/3] upgrade react native 0.71 (#20832)# Why follow up #20799 for react-native 0.71 upgrade. this pr aims for jest upgrade and fix all broken tests. close ENG-7192 # How - upgrade packag
[2/3] upgrade react native 0.71 (#20832)# Why follow up #20799 for react-native 0.71 upgrade. this pr aims for jest upgrade and fix all broken tests. close ENG-7192 # How - upgrade packages - `jest: ^26.0.24 -> ^29.2.1` - `jest-watch-typeahead: 0.6.4 -> 2.2.1` - `@types/jest: ^26.0.24 -> ^29.2.1` - `babel-jest: ^26.6.3 -> ^29.2.1` - `@jest/create-cache-key-function: ^27.0.1 -> ^29.2.1` - `@babel/preset-env: ^7.12.9 -> ^7.14.0` - `eslint: ^8.20.0 -> ^8.29.0` - add `jest-environment-jsdom` because new jest does not include it by default - [core] fix `SyntheticPlatformEmitter` type error. originally it refers to `react-native/Libraries/EventEmitter/RCTDeviceEventEmitter` internal file which has incorrect type setup in 0.71. we could use the `react-native.DeviceEventEmitter` instead. - [expo-linking]: remove the deprecated `Linking.removeEventListener` (which is also removed from upstream) - [firebase-recaptcha] remove broken web test because firebase ESM which is not supported by jest. this pr simply remove the test case because the package is deprecated. - [jest-expo-enzyme] remove this package and move to [the archived repo](https://github.com/expo/jest-expo-enzyme). enzyme cannot upgrade to jest 29. - remove `@types/react-native` and the versioned cli package check. because 0.71 ships the types directly. - [ncl] workaround `@react-native-community/slider`, `@react-native-segmented-control/segmented-control`, and `@react-native-masked-view/masked-view` type errors in the `react-native-71-fix.d.ts`. - for other details, please check the commit histories one by one. # Test Plan - ci passed - for test-suite ios ci error, i've mentioned in #20799
[jest] Update mocks and fix all related sdk checks failures
[barcode-scanner] update tests snapshots (#18043)
Fix test snapshots after removing ViewPropTypes (#16796)
[packages] fix tests after Jest preset migration (#15133)
made the expo-module-scripts jest-preset be universal by default (#5706)* made expo-module-scripts/jest-preset be universal by default * Update jest-preset.js * Updated snapshots * Update
made the expo-module-scripts jest-preset be universal by default (#5706)* made expo-module-scripts/jest-preset be universal by default * Update jest-preset.js * Updated snapshots * Update packages/expo-module-scripts/universal/jest-preset.js Co-Authored-By: James Ide <[email protected]>
[jest] Update all packages to use jest-expo/universal instead of mocks (#5645)* Update index.js * Update jest-preset.js * Updated amplitude * updated segment tests * Updated brightness
[jest] Update all packages to use jest-expo/universal instead of mocks (#5645)* Update index.js * Update jest-preset.js * Updated amplitude * updated segment tests * Updated brightness universal tests * Updated Local Authentication tests * Updated Location tests * Updated SecureStore tests * Updated Contacts tests * Updated expo tests * Updated Facebook tests * Updated Web Browser tests * Updated sensors tests * Clean up unused mock methods * Fixed `it` quote format * Updated expo tests * Update CHANGELOG.md * feedback * Apply suggestions from code review Co-Authored-By: James Ide <[email protected]> * Update yarn.lock * fixed build files
[TypeScript] Migrated expo-barcode-scanner (#3415)* Added TypeScript * Updated Web * Added `UnavailabilityError`s * Added unit tests * Added tests to CI * Fixed export * Update packages
[TypeScript] Migrated expo-barcode-scanner (#3415)* Added TypeScript * Updated Web * Added `UnavailabilityError`s * Added unit tests * Added tests to CI * Fixed export * Update packages/expo-barcode-scanner/src/BarCodeScanner.tsx Co-Authored-By: EvanBacon <[email protected]> * Update packages/expo-barcode-scanner/src/BarCodeScanner.tsx Co-Authored-By: EvanBacon <[email protected]> * Updated props * Deleted references * Removed unused types * Removed deprecated