not

Pnot
Bun

Symbol

Expect.not

not: ExpectNot

Access to negated asymmetric matchers.

expect("abc").toEqual(expect.stringContaining("abc")); // will pass
expect("abc").toEqual(expect.not.stringContaining("abc")); // will fail