hunk.code_window:     let t = setup();
       let A = t.navigate.get("/bar");
       let B = await A.loader.redirect("/baz");
       expect(t.getState().transition.type).toBe("redirect");
       expect(t.getState().transition.location).toBe(B.location);
       await B.loader.resolve("B");
  
hunk.labels: keep keep keep keep replace keep keep keep
hunk.after_edit:     expect(t.getState().transition.type).toBe("normalRedirect");
  
hunk.file_path: packages/remix-react/__tests__/transition-test.tsx
hunk.type: replace
file: import cookieSignature from "cookie-signature";
  
  export async function sign(value: string, secret: string): Promise<string> {
    return cookieSignature.sign(value, secret);
  }
  
  export async function unsign(
    signed: string,
    secret: string
  ): Promise<string | false> {
    return cookieSignature.unsign(signed, secret);
  }
  