Skip to content

Bump the development-dependencies group across 1 directory with 3 upd… #38

Bump the development-dependencies group across 1 directory with 3 upd…

Bump the development-dependencies group across 1 directory with 3 upd… #38

GitHub Actions / jest-github-action failed Nov 26, 2024 in 0s

Jest tests failed

Failed tests: 0/0. Failed suites: 0/1.

Details

::group::PASS tests/App.test.tsx (0 ms)
::endgroup::

::group::Errors thrown in tests/App.test.tsx
● Test suite failed to run

Invariant Violation: TurboModuleRegistry.getEnforcing(...): 'RNLocalize' could not be found. Verify that a module by this name is registered in the native binary.

�[0m �[90m  9 |�[39m
 �[90m 10 |�[39m �[36mimport�[39m �[32m'intl-pluralrules'�[39m�[33m;�[39m
�[31m�[1m>�[22m�[39m�[90m 11 |�[39m �[36mimport�[39m �[33mRNLanguageDetector�[39m �[36mfrom�[39m �[32m'@os-team/i18next-react-native-language-detector'�[39m�[33m;�[39m
 �[90m    |�[39m �[31m�[1m^�[22m�[39m
 �[90m 12 |�[39m
 �[90m 13 |�[39m �[36mexport�[39m �[36mconst�[39m supportedLanguages �[33m=�[39m [�[32m'en'�[39m�[33m,�[39m �[32m'de'�[39m�[33m,�[39m �[32m'fr'�[39m�[33m,�[39m �[32m'it'�[39m]�[33m;�[39m
 �[90m 14 |�[39m�[0m

  at invariant (node_modules/invariant/invariant.js:40:15)
  at Object.getEnforcing (node_modules/react-native/Libraries/TurboModule/TurboModuleRegistry.js:47:12)
  at Object.getEnforcing (node_modules/react-native-localize/src/NativeRNLocalize.ts:18:36)
  at Object.require (node_modules/react-native-localize/src/module.ts:1:1)
  at Object.require (node_modules/react-native-localize/src/index.ts:1:1)
  at Object.require (node_modules/@os-team/i18next-react-native-language-detector/dist/index.js:2:1)
  at Object.require (src/translations.ts:11:1)
  at Object.require (src/hooks/useAppLanguage.ts:3:1)
  at Object.require (src/api/ApiHandler.tsx:33:1)
  at Object.require (src/App.tsx:9:1)
  at Object.require (__tests__/App.test.tsx:6:1)
  at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
  at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)

::endgroup::
Test Suites: 1 failed, 1 total
Tests: 0 total
Snapshots: 0 total
Time: 11.859 s
Ran all test suites.
Test results written to: jest.results.json
Jest did not exit one second after the test run has completed.

'This usually means that there are asynchronous operations that weren't stopped in your tests. Consider running Jest with --detectOpenHandles to troubleshoot this issue.