Skip to content

merge master

merge master #1957

GitHub Actions / Jest Unit Test Results failed Oct 31, 2023 in 0s

4 fail, 307 pass in 1m 40s

    1 files  +    1    36 suites  +36   1m 40s ⏱️ + 1m 40s
311 tests +311  307 ✔️ +307  0 💤 ±0  4 +4 
312 runs  +312  308 ✔️ +308  0 💤 ±0  4 +4 

Results for commit a70a381. ± Comparison against earlier commit f854175.

Annotations

Check warning on line 0 in Given QuickMarcEditWrapper when is authority marc type when click on "Save & keep editing" button should show on save message and stay on the edit page

See this annotation in the file changed.

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

Given QuickMarcEditWrapper when is authority marc type when click on "Save & keep editing" button should show on save message a…is authority marc type when click on "Save & keep editing" button should show on save message and stay on the edit page) failed

artifacts/jest-junit/junit.xml
Raw output
Error: expect(jest.fn()).toHaveBeenCalled()

Expected number of calls: >= 1
Received number of calls:    0
    at Object.toHaveBeenCalled (/home/runner/work/ui-quick-marc/ui-quick-marc/src/QuickMarcEditor/QuickMarcEditWrapper.test.js:645:51)

Check warning on line 0 in Given QuickMarcEditWrapper when is authority marc type when click on save button should show on save message and redirect on load page

See this annotation in the file changed.

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

Given QuickMarcEditWrapper when is authority marc type when click on save button should show on save message and redirect on lo…EditWrapper when is authority marc type when click on save button should show on save message and redirect on load page) failed

artifacts/jest-junit/junit.xml
Raw output
Error: expect(jest.fn()).toHaveBeenCalled()

Expected number of calls: >= 1
Received number of calls:    0
    at Object.toHaveBeenCalled (/home/runner/work/ui-quick-marc/ui-quick-marc/src/QuickMarcEditor/QuickMarcEditWrapper.test.js:666:51)

Check warning on line 0 in Given QuickMarcEditWrapper when is authority marc type when click on save button when there is an error during POST request should show an error message

See this annotation in the file changed.

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

Given QuickMarcEditWrapper when is authority marc type when click on save button when there is an error during POST request sho…s authority marc type when click on save button when there is an error during POST request should show an error message) failed

artifacts/jest-junit/junit.xml
Raw output
Error: expect(jest.fn()).toHaveBeenCalled()

Expected number of calls: >= 1
Received number of calls:    0
    at Object.toHaveBeenCalled (/home/runner/work/ui-quick-marc/ui-quick-marc/src/QuickMarcEditor/QuickMarcEditWrapper.test.js:686:40)

Check warning on line 0 in Given Quick Marc Editor Container when a user is in a member tenant and derives a shared record should take the record data from the central tenant

See this annotation in the file changed.

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

Given Quick Marc Editor Container when a user is in a member tenant and derives a shared record should take the record data fro…ainer when a user is in a member tenant and derives a shared record should take the record data from the central tenant) failed

artifacts/jest-junit/junit.xml
Raw output
TypeError: (0 , _utils.getHeaders) is not a function
    at /home/runner/work/ui-quick-marc/ui-quick-marc/src/QuickMarcEditor/QuickMarcEditorContainer.js:126:30
    at loadData (/home/runner/work/ui-quick-marc/ui-quick-marc/src/QuickMarcEditor/QuickMarcEditorContainer.js:219:5)
    at commitHookEffectListMount (/home/runner/work/ui-quick-marc/ui-quick-marc/node_modules/react-dom/cjs/react-dom.development.js:23150:26)
    at commitPassiveMountOnFiber (/home/runner/work/ui-quick-marc/ui-quick-marc/node_modules/react-dom/cjs/react-dom.development.js:24931:11)
    at commitPassiveMountEffects_complete (/home/runner/work/ui-quick-marc/ui-quick-marc/node_modules/react-dom/cjs/react-dom.development.js:24891:9)
    at commitPassiveMountEffects_begin (/home/runner/work/ui-quick-marc/ui-quick-marc/node_modules/react-dom/cjs/react-dom.development.js:24878:7)
    at commitPassiveMountEffects (/home/runner/work/ui-quick-marc/ui-quick-marc/node_modules/react-dom/cjs/react-dom.development.js:24866:3)
    at flushPassiveEffectsImpl (/home/runner/work/ui-quick-marc/ui-quick-marc/node_modules/react-dom/cjs/react-dom.development.js:27039:3)
    at flushPassiveEffects (/home/runner/work/ui-quick-marc/ui-quick-marc/node_modules/react-dom/cjs/react-dom.development.js:26984:14)
    at performSyncWorkOnRoot (/home/runner/work/ui-quick-marc/ui-quick-marc/node_modules/react-dom/cjs/react-dom.development.js:26076:3)
    at flushSyncCallbacks (/home/runner/work/ui-quick-marc/ui-quick-marc/node_modules/react-dom/cjs/react-dom.development.js:12042:22)
    at commitRootImpl (/home/runner/work/ui-quick-marc/ui-quick-marc/node_modules/react-dom/cjs/react-dom.development.js:26959:3)
    at commitRoot (/home/runner/work/ui-quick-marc/ui-quick-marc/node_modules/react-dom/cjs/react-dom.development.js:26682:5)
    at finishConcurrentRender (/home/runner/work/ui-quick-marc/ui-quick-marc/node_modules/react-dom/cjs/react-dom.development.js:25981:9)
    at performConcurrentWorkOnRoot (/home/runner/work/ui-quick-marc/ui-quick-marc/node_modules/react-dom/cjs/react-dom.development.js:25809:7)
    at flushActQueue (/home/runner/work/ui-quick-marc/ui-quick-marc/node_modules/react/cjs/react.development.js:2667:24)
    at recursivelyFlushAsyncActWork (/home/runner/work/ui-quick-marc/ui-quick-marc/node_modules/react/cjs/react.development.js:2633:9)
    at /home/runner/work/ui-quick-marc/ui-quick-marc/node_modules/react/cjs/react.development.js:2545:15
Error: expect(jest.fn()).toHaveBeenCalledWith(...expected)

Expected: ObjectContaining {"headers": {"Accept": "application/json", "Accept-Language": "en", "Content-Type": "application/json", "X-Okapi-Tenant": "consortium"}}

Number of calls: 0
    at toHaveBeenCalledWith (/home/runner/work/ui-quick-marc/ui-quick-marc/src/QuickMarcEditor/QuickMarcEditorContainer.test.js:316:25)
    at Array.forEach (<anonymous>)
    at Object.forEach (/home/runner/work/ui-quick-marc/ui-quick-marc/src/QuickMarcEditor/QuickMarcEditorContainer.test.js:315:16)