function compareWeek(obj) {
  for (let i = 0; i < 7; i += 1) {
    // @ts-expect-error since we are converting Date to ISO string, but that's okay for our test Date comparisons
    // eslint-disable-next-line no-param-reassign
    obj.days[i].date = obj.days[i].date.toISOString();
  }
  return obj;
}
@param {import('../../types/day.js').Week} obj