export const toHaveSameLengthAsMatcher: jasmine.CustomMatcherFactory = () => {
  return {
    compare(value: unknown, propPath: string, other: string | any[]) {
      const pass = isSameLengthAs(other, getIn(propPath.split('.'), value));
      const message = pass