MtoBeGreaterThanOrEqual
Bun

method

test.MatchersBuiltin.toBeGreaterThanOrEqual

expected: number | bigint
): void;

Asserts that a value is a number and is greater than or equal to the expected value.

@param expected

the expected number

expect(1).toBeGreaterThanOrEqual(0);
expect(3.14).toBeGreaterThanOrEqual(3);
expect(9).toBeGreaterThanOrEqual(9);