property
test.MatchersBuiltin.not
not: [R] extends [void] ? Matchers<unknown> : AsyncMatchers<unknown>
Negates the result of a subsequent assertion.
expect(1).not.toBe(0);
expect(null).not.toBeNull();