UIBULKED-316: Bulk edit actions for holdings notes - add and remove M… #1690
GitHub Actions / Jest Unit Test Results
failed
Oct 24, 2023 in 0s
1 fail, 1 skipped, 159 pass in 1m 40s
Annotations
github-actions / Jest Unit Test Results
ContentUpdatesForm helpers helpers getDefaultActions returns the correct object for the HOLDINGS_NOTE option (ContentUpdatesForm helpers helpers getDefaultActions returns the correct object for the HOLDINGS_NOTE option) failed
artifacts/jest-junit/junit.xml
Raw output
Error: expect(received).toEqual(expected) // deep equality
Expected: "{\"type\":\"\",\"actions\":[null,{\"actionsList\":[{\"value\":\"\",\"disabled\":true},{\"value\":\"MARK_AS_STAFF_ONLY\",\"disabled\":false},{\"value\":\"REMOVE_MARK_AS_STAFF_ONLY\",\"disabled\":false}],\"name\":\"\",\"value\":\"\"}]}"
Received: "{\"type\":\"\",\"actions\":[null,{\"actionsList\":[{\"value\":\"\",\"disabled\":true},{\"value\":\"MARK_AS_STAFF_ONLY\",\"disabled\":false},{\"value\":\"REMOVE_MARK_AS_STAFF_ONLY\",\"disabled\":false},{\"value\":\"ADD_TO_EXISTING\",\"disabled\":false},{\"value\":\"REMOVE_ALL\",\"disabled\":false},{\"value\":\"FIND\",\"disabled\":false},{\"value\":\"CHANGE_TYPE\",\"disabled\":false}],\"name\":\"\",\"value\":\"\"}]}"
at Object.<anonymous> (/home/runner/work/ui-bulk-edit/ui-bulk-edit/src/components/BulkEditList/BulkEditListResult/BulkEditInApp/ContentUpdatesForm/helpers.test.js:495:93)
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
Loading