export const toHaveNegativeNumberMatcher: jasmine.CustomMatcherFactory = () => {
  return {
    compare(value: unknown, propPath: string) {
      const pass = isNegativeNumber(getIn(propPath.split('.'), value));
      const message = pass