Skip to content

UIQM-709 Duplicate LCCN checking query > Do not return instance/bib r… #2748

UIQM-709 Duplicate LCCN checking query > Do not return instance/bib r…

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

    1 files    47 suites   3m 2s ⏱️
477 tests 475 ✔️ 0 💤 2
480 runs  478 ✔️ 0 💤 2

Results for commit 87aaa7f.

Annotations

Check warning on line 0 in useValidation when validating Bib record when instance is staff suppressed should not validate LCCN duplication

See this annotation in the file changed.

@github-actions 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)

Check warning on line 0 in useValidation when validating Bib record when instance is discovery suppressed should not validate LCCN duplication

See this annotation in the file changed.

@github-actions 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)