<commit_before>import { mount } from "enzyme"
import React from "react"
import { commitMutation, RelayProp } from "react-relay"

import { IncompleteOrder } from "Apps/__test__/Fixtures/Order"
import { Button } from "Styleguide/Elements/Button"
import { Radio } from "Styleguide/Elements/Radio"
import { Provider } from "unstated"
import { ShippingProps, ShippingRoute } from "../Shipping"

jest.mock("react-relay", () => ({
  commitMutation: jest.fn(),
  createFragmentContainer: component => component,
}))

describe("Shipping", () => {
  const getWrapper = props => {
    return mount(
      <Provider>
        <ShippingRoute {...props} />
      </Provider>
    )
  }

  let props: ShippingProps
  beforeEach(() => {
    props = {
      order: {
        ...IncompleteOrder,<commit_msg>fix import in Shipping.test.tsx<commit_after>import { mount } from "enzyme"
import React from "react"
import { commitMutation, RelayProp } from "react-relay"

import { UntouchedOrder } from "Apps/__test__/Fixtures/Order"
import { Button } from "Styleguide/Elements/Button"
import { Radio } from "Styleguide/Elements/Radio"
import { Provider } from "unstated"
import { ShippingProps, ShippingRoute } from "../Shipping"

jest.mock("react-relay", () => ({
  commitMutation: jest.fn(),
  createFragmentContainer: component => component,
}))

describe("Shipping", () => {
  const getWrapper = props => {
    return mount(
      <Provider>
        <ShippingRoute {...props} />
      </Provider>
    )
  }

  let props: ShippingProps
  beforeEach(() => {
    props = {
      order: {
        ...UntouchedOrder,
{'fraction_non_alphanumeric': 0.14465408805031446, 'fraction_numerical': 0.0, 'mean_word_length': 3.5198863636363638, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 19, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1454518', 'n_tokens_mistral': 500, 'n_tokens_neox': 484, 'n_words': 116}