Situation
The CircleCI workflow .circleci/config.yml runs under cimg/node:18.20.7 and fails running npm test
FAIL tests/test-form-data-error.js 1 failed of 3 633.641ms
✖ should throw
FAIL tests/test-form-data.js 1 failed of 64 654.829ms
✖ should be truthy
Assessment
With Node.js 18.20.7:
Testing with form-data tied to a fixed version, instead of being defined in package.json as "form-data": "~4.0.0" shows that tests fail for form-data >= 4.0.3
| form-data |
Result |
| 4.0.0 |
Suites: 54 passed, 54 of 54 completed |
| 4.0.1 |
Suites: 54 passed, 54 of 54 completed |
| 4.0.2 |
Suites: 54 passed, 54 of 54 completed |
| 4.0.3 |
Suites: 1 failed, 53 passed, 54 of 54 completed |
| 4.0.4 |
Suites: 2 failed, 52 passed, 54 of 54 completed |
See form.data CHANGELOG for release descriptions