Skip to content

update tests

update tests #3222

GitHub Actions / Jest Unit Test Results failed Oct 26, 2024 in 0s

1 fail, 286 pass in 3m 2s

    1 files  ±0    44 suites  +1   3m 2s ⏱️ -16s
287 tests +6  286 ✔️ +36  0 💤 ±0  1  - 30 
294 runs  +6  293 ✔️ +36  0 💤 ±0  1  - 30 

Results for commit ecbc593. ± Comparison against earlier commit 4e6b1ec.

Annotations

Check warning on line 0 in useBulkOperationUsers should fetch related users

See this annotation in the file changed.

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

useBulkOperationUsers should fetch related users (useBulkOperationUsers should fetch related users) failed

artifacts/jest-junit/junit.xml
Raw output
TypeError: Cannot read properties of undefined (reading 'initialFileName')
    at useErrorMessages (/home/runner/work/ui-bulk-edit/ui-bulk-edit/src/hooks/useErrorMessages.js:11:11)
    at useBulkOperationUsers (/home/runner/work/ui-bulk-edit/ui-bulk-edit/src/hooks/api/useBulkOperationUsers.js:21:48)
    at _renderHook.wrapper (/home/runner/work/ui-bulk-edit/ui-bulk-edit/src/hooks/api/useBulkOperationUsers.test.js:58:62)
    at TestComponent (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/@testing-library/react-hooks/lib/helpers/createTestHarness.js:25:14)
    at renderWithHooks (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/react-dom/cjs/react-dom.development.js:15486:18)
    at mountIndeterminateComponent (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/react-dom/cjs/react-dom.development.js:20103:13)
    at beginWork (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/react-dom/cjs/react-dom.development.js:21626:16)
    at beginWork$1 (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/react-dom/cjs/react-dom.development.js:27465:14)
    at performUnitOfWork (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/react-dom/cjs/react-dom.development.js:26599:12)
    at workLoopSync (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/react-dom/cjs/react-dom.development.js:26505:5)
    at renderRootSync (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/react-dom/cjs/react-dom.development.js:26473:7)
    at performSyncWorkOnRoot (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/react-dom/cjs/react-dom.development.js:26124:20)
    at flushSyncCallbacks (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/react-dom/cjs/react-dom.development.js:12042:22)
    at flushSync (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/react-dom/cjs/react-dom.development.js:26240:7)
    at legacyCreateRootFromDOMContainer (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/react-dom/cjs/react-dom.development.js:29614:5)
    at legacyRenderSubtreeIntoContainer (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/react-dom/cjs/react-dom.development.js:29640:12)
    at Object.render (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/react-dom/cjs/react-dom.development.js:29731:10)
    at /home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/@testing-library/react-hooks/lib/dom/pure.js:78:27
    at act (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/react/cjs/react.development.js:2512:16)
    at actWithWarning (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/react-dom/cjs/react-dom-test-utils.development.js:1740:10)
    at render (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/@testing-library/react-hooks/lib/dom/pure.js:77:26)
    at renderHook (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/@testing-library/react-hooks/lib/core/index.js:114:5)
    at _callee$ (/home/runner/work/ui-bulk-edit/ui-bulk-edit/src/hooks/api/useBulkOperationUsers.test.js:58:34)
    at tryCatch (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
    at Generator.<anonymous> (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
    at Generator.next (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
    at asyncGeneratorStep (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
    at _next (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
    at /home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:7
    at new Promise (<anonymous>)
    at Object.<anonymous> (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/@babel/runtime/helpers/asyncToGenerator.js:14:12)
    at Object.asyncJestTest (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37)
    at /home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/jest-jasmine2/build/queueRunner.js:45:12
    at new Promise (<anonymous>)
    at mapper (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/jest-jasmine2/build/queueRunner.js:28:19)
    at /home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/jest-jasmine2/build/queueRunner.js:75:41
    at processTicksAndRejections (node:internal/process/task_queues:95:5)