Этот коммит содержится в:
Conor Macpherson
2023-04-10 17:16:10 -04:00
родитель 214bd6dd07
Коммит 9710fdba8e
2 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@@ -51,7 +51,7 @@ jest.mock('components/payment_form/card_input', () => {
};
});
jest.mock('components/self_hosted_purchase_modal/stripe_provider', () => {
jest.mock('components/self_hosted_purchases/stripe_provider', () => {
return function(props: {children: React.ReactNode | React.ReactNodeArray}) {
return props.children;
};
@@ -164,6 +164,7 @@ const initialState: DeepPartial<GlobalState> = {
},
license: {
Sku: productName,
SkuName: productName,
Users: '50',
ExpiresAt: licenseExpiry.valueOf().toString(),
},

Просмотреть файл

@@ -50,7 +50,7 @@ jest.mock('components/payment_form/card_input', () => {
};
});
jest.mock('components/self_hosted_purchase_modal/stripe_provider', () => {
jest.mock('components/self_hosted_purchases/stripe_provider', () => {
return function(props: {children: React.ReactNode | React.ReactNodeArray}) {
return props.children;
};