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
Annotations
Check warning on line 0 in validateRequired validatePositiveAmount
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)
Loading