{"size": 874, "ext": "js", "max_stars_repo_path": "packages/article-topics/__tests__/shared-with-style.web.js", "max_stars_repo_name": "joshje/times-components", "max_stars_repo_stars_event_min_datetime": "2017-06-25T18:58:43.000Z", "max_stars_repo_stars_event_max_datetime": "2022-03-21T22:15:02.000Z", "max_issues_repo_path": "packages/article-topics/__tests__/shared-with-style.web.js", "max_issues_repo_name": "irasanchez/times-components", "max_issues_repo_issues_event_min_datetime": "2017-06-09T11:08:41.000Z", "max_issues_repo_issues_event_max_datetime": "2022-03-02T14:07:07.000Z", "max_forks_repo_path": "packages/article-topics/__tests__/shared-with-style.web.js", "max_forks_repo_name": "irasanchez/times-components", "max_forks_repo_forks_event_min_datetime": "2017-07-25T17:43:00.000Z", "max_forks_repo_forks_event_max_datetime": "2022-03-25T13:43:18.000Z"}
{"max_stars_count": 263, "max_issues_count": 1434, "max_forks_count": 50, "avg_line_length": 18.2083333333, "max_line_length": 62, "alphanum_fraction": 0.6498855835}
import { AppRegistry } from "react-native-web";
import {
  addSerializers,
  compose,
  flattenStyleTransform,
  hoistStyleTransform,
  minimaliseTransform,
  rnwTransform,
  stylePrinter
} from "@times-components/jest-serializer";
import shared from "./shared-with-style.base";

const styles = [
  "borderColor",
  "borderRadius",
  "borderWidth",
  "color",
  "flexDirection",
  "flexWrap",
  "fontFamily",
  "fontSize",
  "justifyContent",
  "marginBottom",
  "marginRight",
  "marginTop",
  "paddingBottom",
  "paddingLeft",
  "paddingRight",
  "paddingTop"
];

export default () => {
  addSerializers(
    expect,
    compose(
      stylePrinter,
      minimaliseTransform(
        (value, key) => key !== "style" && key !== "className"
      ),
      flattenStyleTransform,
      hoistStyleTransform,
      rnwTransform(AppRegistry, styles)
    )
  );

  shared();
};
