import { server } from "./server.js";
const mockYar = {
  flash: jest.fn().mockReturnValue([]),
  clear: jest.fn(),
  get: jest.fn(),
  set: jest.fn(),
  reset: jest.fn()
};
export function buildFormRequest(request) {
  return {
    ...request,
    yar: mockYar,
    server
  };
}
export function buildFormContextRequest(request) {
  return {
    ...request,
    yar: mockYar,
    server
  };
}
//# sourceMappingURL=request.js.map