MtoIncludeRepeated
Bun

method

test.Matchers.toIncludeRepeated

expected: string,
times: number
): void;

Asserts that a value includes a string {times} times.

@param expected

the expected substring

@param times

the number of times the substring should occur