"use strict";

exports.__esModule = true;
exports.withCairoViewsTestFlag = withCairoViewsTestFlag;
function withCairoViewsTestFlag(factory) {
  return context => {
    const requestOptions = factory(context);
    if (requestOptions.data == null) {
      requestOptions.data = {};
    }
    requestOptions.data.__CAIRO_VIEWS_TEST = 'true';
    return requestOptions;
  };
}
//# sourceMappingURL=withCairoViewsTestFlag.js.map