doctor icon indicating copy to clipboard operation
doctor copied to clipboard

tests failing in Node@19 and above

Open UlisesGascon opened this issue 1 year ago • 0 comments

Not sure what triggers this error, I was not able to reproduce it locally. It is affecting all Operation Systems

Error: Invalid version range
    at module.exports (/home/runner/work/doctor/doctor/node_modules/bin-version-check/index.js:12:25)
    at exports.verify (/home/runner/work/doctor/doctor/lib/rules/yo-version.js:18:26)
    at async Context.<anonymous> (/home/runner/work/doctor/doctor/test/rule-yo-version.js:34:19)
    ✓ fail if it's invalid version range


  18 passing (1s)
  1 failing

  1) global config rule
       fails if JSON is invalid:

      AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:

  assert(error.includes('Unexpected token @'))

      + expected - actual

      -false
      +true
      
      at Context.<anonymous> (test/rule-global-config.js:[45](https://github.com/yeoman/doctor/actions/runs/12847057642/job/35822946689?pr=66#step:6:46):5)

UlisesGascon avatar Jan 18 '25 20:01 UlisesGascon