MtoBeEven
Bun

method

test.Matchers.toBeEven

toBeEven(): void;

Asserts that a number is even.

expect(2).toBeEven();
expect(1).not.toBeEven();