jest-extended icon indicating copy to clipboard operation
jest-extended copied to clipboard

implement .toIncludeCaseInsensitive

Open MNF opened this issue 2 years ago • 1 comments

Feature Request

Description:implement .toIncludeCaseInsensitive

Possible solution: a combination of .toInclude(substring) and .toEqualCaseInsensitive(string)

MNF avatar Oct 19 '21 16:10 MNF

Just in case it's not clear how that can be done today: .toEqual(expect.stringMatching(/thesubstring/i))

Haroenv avatar Feb 15 '22 13:02 Haroenv