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

chai global missing in vitest/globals #7474

Open
6 tasks done
silverwind opened this issue Feb 12, 2025 · 0 comments
Open
6 tasks done

chai global missing in vitest/globals #7474

silverwind opened this issue Feb 12, 2025 · 0 comments
Labels
p3-minor-bug An edge case that only affects very specific usage (priority)

Comments

@silverwind
Copy link
Contributor

silverwind commented Feb 12, 2025

Describe the bug

With globals: true, there exists a chai global in the environment, but this global is not being exported from the vitest/globals module. See related pull request vitest-dev/eslint-plugin-vitest#658 where this was noticed.

Reproduction

https://github.com/vitest-dev/vitest/blob/e348bd4c99e571888c1cd5b6f45856716cbbf999/packages/vitest/globals.d.ts

System Info

Not relevant

Used Package Manager

npm

Validations

@sheremet-va sheremet-va added p3-minor-bug An edge case that only affects very specific usage (priority) and removed pending triage labels Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p3-minor-bug An edge case that only affects very specific usage (priority)
Projects
None yet
Development

No branches or pull requests

2 participants