Skip to content

add not required positive amount validation #1286

add not required positive amount validation

add not required positive amount validation #1286

GitHub Actions / Jest Unit Test Results failed Sep 27, 2024 in 0s

1 fail, 2 skipped, 533 pass in 4m 1s

    1 files  ±0  212 suites  ±0   4m 1s ⏱️ -1s
536 tests +1  533 ✔️ ±0  2 💤 ±0  1 +1 
539 runs  +1  536 ✔️ ±0  2 💤 ±0  1 +1 

Results for commit c787856. ± Comparison against earlier commit 0b7cce5.

Annotations

Check warning on line 0 in validateRequired validatePositiveAmount

See this annotation in the file changed.

@github-actions github-actions / Jest Unit Test Results

validateRequired validatePositiveAmount (validateRequired validatePositiveAmount) failed

artifacts/jest-junit/junit.xml
Raw output
Error: expect(received).toBe(expected) // Object.is equality

Expected: undefined
Received: <mockConstructor id="stripes-acq-components.validation.shouldBePositiveAmount" />
    at Object.<anonymous> (/home/runner/work/stripes-acq-components/stripes-acq-components/lib/utils/validateRequired.test.js:70:40)
    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)