Feat/add sonar #147
Triggered via pull request
April 15, 2024 18:31
alichherawalla
synchronize
#84
Status
Success
Total duration
3m 3s
Artifacts
–
build.yml
on: pull_request_target
install-and-test
2m 54s
Annotations
1 error and 29 warnings
Tests for RootScreen sagas > should ensure that the navigation service is called after waiting for 1000ms:
app/scenes/RootScreen/tests/saga.test.js#L28
TypeError: (0 , _NavigationService.navigateAndReset) is not a function
at Timeout._onTimeout (/home/runner/work/react-native-template/react-native-template/app/scenes/RootScreen/saga.js:9:20)
at listOnTimeout (node:internal/timers:569:17)
at processTimers (node:internal/timers:512:7)
Error: expect(jest.fn()).toHaveBeenCalled()
Expected number of calls: >= 1
Received number of calls: 0
at call (/home/runner/work/react-native-template/react-native-template/app/scenes/RootScreen/tests/saga.test.js:33:23)
at tryCatch (/home/runner/work/react-native-template/react-native-template/node_modules/regenerator-runtime/runtime.js:63:40)
at Generator._invoke (/home/runner/work/react-native-template/react-native-template/node_modules/regenerator-runtime/runtime.js:293:22)
at Generator.call (/home/runner/work/react-native-template/react-native-template/node_modules/regenerator-runtime/runtime.js:118:21)
at tryCatch (/home/runner/work/react-native-template/react-native-template/node_modules/regenerator-runtime/runtime.js:63:40)
at invoke (/home/runner/work/react-native-template/react-native-template/node_modules/regenerator-runtime/runtime.js:154:20)
at fn (/home/runner/work/react-native-template/react-native-template/node_modules/regenerator-runtime/runtime.js:164:13)
at tryCallOne (/home/runner/work/react-native-template/react-native-template/node_modules/react-native/node_modules/promise/lib/core.js:37:12)
at call (/home/runner/work/react-native-template/react-native-template/node_modules/react-native/node_modules/promise/lib/core.js:123:15)
at flush (/home/runner/work/react-native-template/react-native-template/node_modules/asap/raw.js:50:29)
|
🧾 Statement is not covered:
app/utils/apiUtils.js#L17
Warning! Not covered statement
|
🧾 Statement is not covered:
app/utils/apiUtils.js#L18
Warning! Not covered statement
|
🧾 Statement is not covered:
app/utils/apiUtils.js#L38
Warning! Not covered statement
|
🧾 Statement is not covered:
app/utils/apiUtils.js#L38
Warning! Not covered statement
|
🌿 Branch is not covered:
app/utils/apiUtils.js#L11
Warning! Not covered branch
|
🌿 Branch is not covered:
app/utils/apiUtils.js#L16
Warning! Not covered branch
|
🌿 Branch is not covered:
app/utils/apiUtils.js#L29
Warning! Not covered branch
|
🌿 Branch is not covered:
app/utils/apiUtils.js#L37
Warning! Not covered branch
|
🕹 Function is not covered:
app/utils/apiUtils.js#L38
Warning! Not covered function
|
🧾 Statement is not covered:
app/services/NavigationService.js#L25
Warning! Not covered statement
|
🧾 Statement is not covered:
app/services/NavigationService.js#L43
Warning! Not covered statement
|
🕹 Function is not covered:
app/services/NavigationService.js#L24
Warning! Not covered function
|
🕹 Function is not covered:
app/services/NavigationService.js#L42
Warning! Not covered function
|
🌿 Branch is not covered:
app/scenes/ExampleScreen/selectors.js#L6
Warning! Not covered branch
|
🧾 Statement is not covered:
app/scenes/ExampleScreen/index.js#L91
Warning! Not covered statement
|
🧾 Statement is not covered:
app/scenes/ExampleScreen/index.js#L92
Warning! Not covered statement
|
🕹 Function is not covered:
app/scenes/ExampleScreen/index.js#L91
Warning! Not covered function
|
🕹 Function is not covered:
app/scenes/ExampleScreen/index.js#L92
Warning! Not covered function
|
🧾 Statement is not covered:
app/scenes/RootScreen/index.js#L26
Warning! Not covered statement
|
🧾 Statement is not covered:
app/scenes/RootScreen/index.js#L27
Warning! Not covered statement
|
🕹 Function is not covered:
app/scenes/RootScreen/index.js#L26
Warning! Not covered function
|
🕹 Function is not covered:
app/scenes/RootScreen/index.js#L27
Warning! Not covered function
|
🧾 Statement is not covered:
app/components/atoms/LanguageProvider/constants.js#L1
Warning! Not covered statement
|
🧾 Statement is not covered:
app/config/index.dev.js#L1
Warning! Not covered statement
|
🧾 Statement is not covered:
app/config/index.production.js#L1
Warning! Not covered statement
|
🧾 Statement is not covered:
app/components/atoms/LanguageProvider/actions.js#L14
Warning! Not covered statement
|
🕹 Function is not covered:
app/components/atoms/LanguageProvider/actions.js#L13
Warning! Not covered function
|
install-and-test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, artiomtr/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
install-and-test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, artiomtr/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|