Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests failing in Node@19 and above #67

Open
UlisesGascon opened this issue Jan 18, 2025 · 0 comments
Open

tests failing in Node@19 and above #67

UlisesGascon opened this issue Jan 18, 2025 · 0 comments

Comments

@UlisesGascon
Copy link
Member

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 added a commit that referenced this issue Jan 18, 2025
Migration from Travis to GitHub Actions (c2a3c82), also engine versions are now updated with a known limitations (#67, #68 and #69). Also replace build sticker in the `README.md`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant