Skip to content

tests: add test coverages #417

tests: add test coverages

tests: add test coverages #417

This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / Jest Unit Test Results failed Oct 20, 2023 in 0s

1 fail, 219 pass in 2m 27s

    1 files  ±0    67 suites  +3   2m 27s ⏱️ -32s
220 tests +5  219 ✔️ +4  0 💤 ±0  1 +1 
223 runs  +5  222 ✔️ +4  0 💤 ±0  1 +1 

Results for commit d46a134. ± Comparison against earlier commit 5884302.

Annotations

Check warning on line 0 in BankingAccountTypeSettings should check action suppression

See this annotation in the file changed.

@github-actions github-actions / Jest Unit Test Results

BankingAccountTypeSettings should check action suppression (BankingAccountTypeSettings should check action suppression) failed

artifacts/jest-junit/junit.xml
Raw output
TypeError: Cannot convert undefined or null to object
    at Function.keys (<anonymous>)
    at keys (/home/runner/work/ui-organizations/ui-organizations/node_modules/@folio/stripes-acq-components/test/jest/__mock__/stripesCore.mock.js:48:45)
    at renderWithHooks (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:16305:18)
    at mountIndeterminateComponent (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:20074:13)
    at beginWork (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:21587:16)
    at beginWork$1 (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:27426:14)
    at performUnitOfWork (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:26560:12)
    at workLoopSync (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:26466:5)
    at renderRootSync (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:26434:7)
    at recoverFromConcurrentError (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:25850:20)
    at performConcurrentWorkOnRoot (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:25750:22)
    at flushActQueue (/home/runner/work/ui-organizations/ui-organizations/node_modules/react/cjs/react.development.js:2667:24)
    at act (/home/runner/work/ui-organizations/ui-organizations/node_modules/react/cjs/react.development.js:2582:11)
    at /home/runner/work/ui-organizations/ui-organizations/node_modules/@testing-library/react/dist/act-compat.js:46:25
    at renderRoot (/home/runner/work/ui-organizations/ui-organizations/node_modules/@testing-library/react/dist/pure.js:161:26)
    at render (/home/runner/work/ui-organizations/ui-organizations/node_modules/@testing-library/react/dist/pure.js:247:10)
    at renderBankingAccountTypeSettings (/home/runner/work/ui-organizations/ui-organizations/src/Settings/BankingAccountTypeSettings/BankingAccountTypeSettings.test.js:35:54)
    at Object.renderBankingAccountTypeSettings (/home/runner/work/ui-organizations/ui-organizations/src/Settings/BankingAccountTypeSettings/BankingAccountTypeSettings.test.js:43:5)
    at Promise.then.completed (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:316:40)
    at _runTest (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-runner/build/runTest.js:444:34)