Asserts that a value is a negative number
.
Symbol
Matchers.toBeNegative
expect(-3.14).toBeNegative();
expect(1).not.toBeNegative();
expect(NaN).not.toBeNegative();
Symbol
Asserts that a value is a negative number
.
expect(-3.14).toBeNegative();
expect(1).not.toBeNegative();
expect(NaN).not.toBeNegative();