hunk.code_window:       errorMap: () => ({ message: "OVERRIDE" }),
       });
     }).toThrow();
   });
   // test("dont short circuit on continuable errors", () => {
   //   const user = z
   //     .object({
  
hunk.labels: keep keep keep keep add keep keep keep
hunk.after_edit: test("strict error message", () => {
     const errorMsg = "Invalid object";
     const obj = z.object({ x: z.string() }).strict(errorMsg);
     const result = obj.safeParse({ x: "a", y: "b" });
     expect(result.success).toEqual(false);
     if (!result.success) {
       expect(result.error.issues[0].message).toEqual(errorMsg);
     }
   });
  
hunk.file_path: deno/lib/__tests__/error.test.ts
hunk.type: add
file: function getRandomInt(max: number) {
    return Math.floor(Math.random() * Math.floor(max));
  }
  
  export class Mocker {
    pick = (...args: any[]) => {
      return args[getRandomInt(args.length)];
    };
  
    get string() {
      return Math.random().toString(36).substring(7);
    }
    get number() {
      return Math.random() * 100;
    }
    get bigint() {
      return BigInt(Math.floor(Math.random() * 10000));
    }
    get boolean() {
      return Math.random() < 0.5;
    }
    get date() {
      return new Date(Math.floor(Date.now() * Math.random()));
    }
    get null(): null {
      return null;
    }
    get undefined(): undefined {
      return undefined;
    }
    get stringOptional() {
      return this.pick(this.string, this.undefined);
    }
    get stringNullable() {
      return this.pick(this.string, this.null);
    }
    get numberOptional() {
      return this.pick(this.number, this.undefined);
    }
    get numberNullable() {
      return this.pick(this.number, this.null);
    }
    get booleanOptional() {
      return this.pick(this.boolean, this.undefined);
    }
    get booleanNullable() {
      return this.pick(this.boolean, this.null);
    }
  }
  