refactor: add default formatter #590
GitHub Actions / Jest Unit Test Results
failed
Nov 8, 2023 in 0s
1 fail, 1 skipped, 379 pass in 4m 0s
Annotations
github-actions / Jest Unit Test Results
getDonorsListFormatter should return object with name, code and unassignDonor functions (getDonorsListFormatter should return object with name, code and unassignDonor functions) failed
artifacts/jest-junit/junit.xml
Raw output
Error: expect(received).toEqual(expected) // deep equality
Expected: ObjectContaining {"code": Any<Function>, "name": Any<Function>, "unassignDonor": Any<Function>}
Received: {"code": [Function code], "name": [Function name]}
at Object.<anonymous> (/home/runner/work/stripes-acq-components/stripes-acq-components/lib/Donors/utils.test.js:17:20)
at Object.asyncJestTest (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37)
at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:45:12
at new Promise (<anonymous>)
at mapper (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:28:19)
at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:75:41
at processTicksAndRejections (node:internal/process/task_queues:95:5)
Loading