import { crossSellManagementMock } from '../application/crossSellManagement';
import { domainsMock } from '../application/domains';
import { cartMock } from '../cart';

export const productDomainAppMock = {
    application: {
        config: {
            id: 12345
        },
        configurator: {
            enabled: true,
            url: '/en-US/apps/10030/appinsights/configure'
        },
        domains: domainsMock,
        crossSellManagement: crossSellManagementMock
    },
    cart: cartMock,
    i18n: {
        genericErrorMessage: 'There has been an error, please try again.'
    }
};

export const productDomainAppMockFromAddToCart = {
    ...productDomainAppMock,
    application: {
        ...productDomainAppMock.application,
        crossSellManagement: {
            ...productDomainAppMock.application.crossSellManagement,
            previousCTA: {
                actionType: 'ADD_TO_CART'
            }
        }
    }
};
