Skip to content

Support @jest/globals #556

@SimenB

Description

@SimenB

See jestjs/jest#9801.

We need to support finding expect, test, it etc when imported from @jest/globals. Should be relatively simple for ESM syntax, possibly a bit more pain for require. We need to support aliasing as well import { test as testFunction } from '@jest/globals'

Note that the feature hasn't been released yet (blocked by jestjs/jest#9806), but we can add support before it lands.

/cc @G-Rath

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions