I have an array of RegExp and I want to test if some string match one of this RegExp using Jest, I'm not sure how to combine .toEqual with expect.stringMatching and an array of RegExp
Something like expect('text').toEqual(matchOneRegExpAtLeast)
Example
const message = 'anything you want'
const exps = ['/balasa/' , '/feuhfsuhf/' , '/yeuwyeye/']
And I want to test that message match at least one of exps patterns.