toInclude

Bun

Symbol

Matchers.toInclude

toInclude(expected: string): void

Asserts that a value includes a string.

For non-string values, use toContain() instead.

@param expected

the expected substring