Asserts that a value is a negative number
.
method
test.MatchersBuiltin.toBeNegative
expect(-3.14).toBeNegative();
expect(1).not.toBeNegative();
expect(NaN).not.toBeNegative();
method
Asserts that a value is a negative number
.
expect(-3.14).toBeNegative();
expect(1).not.toBeNegative();
expect(NaN).not.toBeNegative();