Asserts that a value is a number
and is greater than the expected value.
method
test.Matchers.toBeGreaterThan
expected: number | bigint
): void;
@param expected
the expected number
expect(1).toBeGreaterThan(0);
expect(3.14).toBeGreaterThan(3);
expect(9).toBeGreaterThan(9); // fail