UIQM-709 Duplicate LCCN checking query > Do not return instance/bib r… #2748
GitHub Actions / Jest Unit Test Results
failed
Oct 3, 2024 in 0s
2 fail, 475 pass in 3m 2s
Annotations
github-actions / Jest Unit Test Results
useValidation when validating Bib record when instance is staff suppressed should not validate LCCN duplication (useValidation when validating Bib record when instance is staff suppressed should not validate LCCN duplication) failed
artifacts/jest-junit/junit.xml
Raw output
Error: expect(jest.fn()).not.toHaveBeenCalledWith(...expected)
Expected: not ObjectContaining {"4": [{"id": "ui-quick-marc.record.error.010.lccnDuplicated", "severity": "error"}]}
Received: 0, [{"3": [{"message": "error message", "severity": "error", "tag": "245[0]"}], "4": [{"id": "ui-quick-marc.record.error.010.lccnDuplicated", "severity": "error"}]}]
Number of calls: 1
at Object.toHaveBeenCalledWith (/home/runner/work/ui-quick-marc/ui-quick-marc/src/hooks/useValidation/useValidation.test.js:676:58)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
github-actions / Jest Unit Test Results
useValidation when validating Bib record when instance is discovery suppressed should not validate LCCN duplication (useValidation when validating Bib record when instance is discovery suppressed should not validate LCCN duplication) failed
artifacts/jest-junit/junit.xml
Raw output
Error: expect(jest.fn()).not.toHaveBeenCalledWith(...expected)
Expected: not ObjectContaining {"4": [{"id": "ui-quick-marc.record.error.010.lccnDuplicated", "severity": "error"}]}
Received: 0, [{"3": [{"message": "error message", "severity": "error", "tag": "245[0]"}], "4": [{"id": "ui-quick-marc.record.error.010.lccnDuplicated", "severity": "error"}]}]
Number of calls: 1
at Object.toHaveBeenCalledWith (/home/runner/work/ui-quick-marc/ui-quick-marc/src/hooks/useValidation/useValidation.test.js:703:58)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
Loading