Skip to content

refactor: add default formatter #590

refactor: add default formatter

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

    1 files  ±0  145 suites  ±0   4m 0s ⏱️ - 1m 2s
381 tests ±0  379 ✔️  - 1  1 💤 ±0  1 +1 
383 runs  ±0  381 ✔️  - 1  1 💤 ±0  1 +1 

Results for commit 6b6d184. ± Comparison against earlier commit 861fd1f.

Annotations

Check warning on line 0 in getDonorsListFormatter should return object with name, code and unassignDonor functions

See this annotation in the file changed.

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