79717681

Date: 2025-07-28 17:25:05
Score: 3.5
Natty:
Report link

Maybe something changed in Jest 30, but the accepted answer is not working for me. I had to do this in my global.d.ts file.

import 'jest'

declare global {
  namespace jest {
    interface Expect {
      customMatcher(expected: string): CustomMatcherResult
    }
  }
}
Reasons:
  • RegEx Blacklisted phrase (3): not working for me
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: knueser