<commit_before>import React from "react"
import { MarketingLandingApp } from "../MarketingLandingApp"
import { mount } from "enzyme"

jest.mock("v2/Artsy/Analytics/AnalyticsContext", () => ({
  AnalyticsContext: {
    Provider: ({ children }) => children,
  },
}))
jest.mock("../Components/ConsignMeta", () => ({
  ConsignMeta: () => <div />,
}))
jest.mock("../Components/Header", () => ({
  Header: () => <div />,
}))
jest.mock("../Components/TemporaryOffer", () => ({
  TemporaryOffer: () => <div />,
}))
jest.mock("../Components/SellArtDifferently", () => ({
  SellArtDifferently: () => <div />,
}))
jest.mock("../Components/GetPriceEstimate/GetPriceEstimate", () => ({
  GetPriceEstimate: () => <div />,
}))
jest.mock("../Components/HowToSell", () => ({
  HowToSell: () => <div />,
}))
jest.mock("../Components/ContactUs", () => ({
  ContactUs: () => <div />,
}))
jest.mock("../Components/InDemandNow/ConsignInDemandNow", () => ({
  ConsignInDemandNow: () => <div />,
}))
jest.mock("../Components/SoldRecently", () => ({
  SoldRecentlyQueryRenderer: () => <div />,
}))
jest.mock("../Components/ReadMore", () => ({
  ReadMore: () => <div />,
}))
jest.mock("../Components/ContactUs", () => ({
  ContactUs: () => <div />,
}))
jest.mock("../Components/FAQ", () => ({
  FAQ: () => <div />,
}))
jest.mock("../Components/SellWithArtsy", () => ({
  SellWithArtsy: () => <div />,
}))
jest.mock("../Components/ArtworkCredits", () => ({
  ArtworkCredits: () => <div />,
}))
jest.mock("v2/Components/Footer", () => ({
  Footer: () => <div />,
}))

describe("MarketingLandingApp", () => {
  it("renders correct components", () => {
    const wrapper = mount(<MarketingLandingApp />)
    expect(wrapper.find("ConsignMeta").length).toBe(1)
    expect(wrapper.find("Header").length).toBe(1)
    expect(wrapper.find("SellArtDifferently").length).toBe(1)
    expect(wrapper.find("GetPriceEstimate").length).toBe(1)
    expect(wrapper.find("HowToSell").length).toBe(1)
    expect(wrapper.find("ConsignInDemandNow").length).toBe(1)
    expect(wrapper.find("SoldRecentlyQueryRenderer").length).toBe(1)
    expect(wrapper.find("ReadMore").length).toBe(1)
    expect(wrapper.find("ContactUs").length).toBe(2)
    expect(wrapper.find("FAQ").length).toBe(1)
    expect(wrapper.find("SellWithArtsy").length).toBe(1)
    expect(wrapper.find("ArtworkCredits").length).toBe(1)
    expect(wrapper.find("Footer").length).toBe(1)
  })

  it("shows temporary discount banner", () => {
    const wrapper = mount(<MarketingLandingApp />)
    expect(wrapper.find("TemporaryOffer").length).toBe(1)
  })
})<commit_msg>Update failing /consign test<commit_after>import React from "react"
import { MarketingLandingApp } from "../MarketingLandingApp"
import { mount } from "enzyme"

jest.mock("v2/Artsy/Analytics/AnalyticsContext", () => ({
  AnalyticsContext: {
    Provider: ({ children }) => children,
  },
}))
jest.mock("../Components/ConsignMeta", () => ({
  ConsignMeta: () => <div />,
}))
jest.mock("../Components/Header", () => ({
  Header: () => <div />,
}))
jest.mock("../Components/TemporaryOffer", () => ({
  TemporaryOffer: () => <div />,
}))
jest.mock("../Components/SellArtDifferently", () => ({
  SellArtDifferently: () => <div />,
}))
jest.mock("../Components/GetPriceEstimate/GetPriceEstimate", () => ({
  GetPriceEstimate: () => <div />,
}))
jest.mock("../Components/HowToSell", () => ({
  HowToSell: () => <div />,
}))
jest.mock("../Components/ContactUs", () => ({
  ContactUs: () => <div />,
}))
jest.mock("../Components/InDemandNow/ConsignInDemandNow", () => ({
  ConsignInDemandNow: () => <div />,
}))
jest.mock("../Components/SoldRecently", () => ({
  SoldRecentlyQueryRenderer: () => <div />,
}))
jest.mock("../Components/ReadMore", () => ({
  ReadMore: () => <div />,
}))
jest.mock("../Components/ContactUs", () => ({
  ContactUs: () => <div />,
}))
jest.mock("../Components/FAQ", () => ({
  FAQ: () => <div />,
}))
jest.mock("../Components/SellWithArtsy", () => ({
  SellWithArtsy: () => <div />,
}))
jest.mock("../Components/ArtworkCredits", () => ({
  ArtworkCredits: () => <div />,
}))
jest.mock("v2/Components/Footer", () => ({
  Footer: () => <div />,
}))

describe("MarketingLandingApp", () => {
  it("renders correct components", () => {
    const wrapper = mount(<MarketingLandingApp />)
    expect(wrapper.find("ConsignMeta").length).toBe(1)
    expect(wrapper.find("Header").length).toBe(1)
    expect(wrapper.find("SellArtDifferently").length).toBe(1)
    expect(wrapper.find("GetPriceEstimate").length).toBe(1)
    expect(wrapper.find("HowToSell").length).toBe(1)
    expect(wrapper.find("ConsignInDemandNow").length).toBe(1)
    expect(wrapper.find("SoldRecentlyQueryRenderer").length).toBe(1)
    expect(wrapper.find("ReadMore").length).toBe(1)
    expect(wrapper.find("ContactUs").length).toBe(2)
    expect(wrapper.find("FAQ").length).toBe(1)
    expect(wrapper.find("ArtworkCredits").length).toBe(1)
    expect(wrapper.find("Footer").length).toBe(1)
  })

  it("shows temporary discount banner", () => {
    const wrapper = mount(<MarketingLandingApp />)
    expect(wrapper.find("TemporaryOffer").length).toBe(1)
  })
})
{'fraction_non_alphanumeric': 0.25126804525946156, 'fraction_numerical': 0.006047600468201327, 'mean_word_length': 4.391167192429022, 'pattern_counts': {'":': 0, '<': 37, '<?xml version=': 0, '>': 107, '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': '3752893', 'n_tokens_mistral': 1795, 'n_tokens_neox': 1731, 'n_words': 182}