Open
Description
Within the base Jest namespace augmentation, the line
interface InverseAsymmetricMatchers extends Expect {}
says that InverseAsymmetricMatchers
extends the augmented Expect
interface (which combines base Jest Expect
with jest-extended Expect
). This means that code such as expect.not.anything()
is valid, but this fails at runtime as anything
is not implemented in either InverseAsymmetricMatchers.
Metadata
Metadata
Assignees
Labels
No labels