Skip to content

chai global missing in vitest/globals #7474

@silverwind

Description

@silverwind

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    p3-minor-bugAn edge case that only affects very specific usage (priority)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions